You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

78 lines
2.6 KiB

#include <ccan/short_types/short_types.h>
# TODO: add enums!
# TODO: msgs expansions
# AUTOGENERATED MOCKS START
# AUTOGENERATED MOCKS END
# omnibus method
msgtype,test_msg,16
# test array u8 (helper)
msgdata,test_msg,test_arr_u8,u8,10
# test array assignable
msgdata,test_msg,test_arr_assignable,u16,5
# test var len u8 (helper)
msgdata,test_msg,len_var_u8,u16,
msgdata,test_msg,test_var_len_u8_arr,byte,len_var_u8
# test variable length assignable
msgdata,test_msg,len_var_ass,u16,
msgdata,test_msg,test_var_len_ass_arr,u32,len_var_ass
# test array struct
msgdata,test_msg,test_struct_arr,test_short_id,10
# test var-len struct
msgdata,test_msg,len_test_struct_varlen,u16,
msgdata,test_msg,test_struct_varlen,test_short_id,len_test_struct_varlen
# test var-len var-size struct
msgdata,test_msg,len_varsize_struct,u16,
msgdata,test_msg,test_varsize_struct_varlen,test_features,len_varsize_struct
# assignable
msgdata,test_msg,test_assignable,u16,
# test struct
msgdata,test_msg,test_struct,test_short_id,
# test var-size struct
msgdata,test_msg,test_varsize_struct,test_features,
# test optional struct
msgdata,test_msg,test_optional_struct,?test_short_id,
# test optional var-size struct
msgdata,test_msg,test_optional_varsize_struct,?test_features,
msgdata,test_msg,test_sbt_struct_nested,subtype_nested,
msgdata,test_msg,test_sbt_varsize_struct,subtype_varsize_struct,
msgdata,test_msg,test_sbt_varsize_var_assign,subtype_var_assign,
msgdata,test_msg,test_sbt_var_len,subtype_var_len,
msgdata,test_msg,test_sbt_varlen_varsize,subtype_varlen_varsize,
# A subtype with a nested subtype
subtype,subtype_nested
subtypedata,subtype_nested,field_1,test_short_id,
# subtype with a nested varsize size struct
subtype,subtype_varsize_struct
subtypedata,subtype_varsize_struct,field_0,test_features,
# A subtype to test varsize things of
# - A two level subtype comment
subtype,subtype_var_assign
# variable length set of assignables
subtypedata,subtype_var_assign,len_1,u8,
subtypedata,subtype_var_assign,field_1,u16,len_1
# variable length set of structs
subtype,subtype_var_len
subtypedata,subtype_var_len,len_2,u8,
subtypedata,subtype_var_len,field_2,test_short_id,len_2
subtype,subtype_varlen_varsize
# variable length set of variable size structs
subtypedata,subtype_varlen_varsize,len,u8,
subtypedata,subtype_varlen_varsize,field_1,test_features,len
# normal struct
subtype,test_short_id
subtypedata,test_short_id,u64,u64,
# var-sized struct
subtype,test_features
subtypedata,test_features,len_lf,u16,
subtypedata,test_features,localfeatures,u8,len_lf
subtypedata,test_features,len_gf,u16,
subtypedata,test_features,globalfeatures,u8,len_gf