Edit

kc3-lang/libevent/test/regress.rpc

Branch :

  • Show log

    Commit

  • Author : Niels Provos
    Date : 2005-08-29 07:23:51
    Hash : 5c5145dc
    Message : oops forgot this one svn:r179

  • test/regress.rpc
  • /* tests data packing and unpacking */
    
    struct msg {
    	string from_name = 1;
    	string to_name = 2;
    	optional struct[kill] kill = 3;
    	array struct[run] run = 4;
    }
    
    struct kill {
    	string weapon = 1;
    	string action = 2;
    }
    
    struct run {
    	string how = 1;
    }