X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=ltt%2Fbranches%2Fpoly%2Fltt%2Fparser.h;h=c039404990990a4b0aacee1fb6a40e6cdd91f0ed;hb=383d64dac9b5130311476c125d77224151e45a6f;hp=5a4c5b02cb1e41fd884be1de3de633508d9a45d6;hpb=0dee0e75e8a541ad435e9af431c426c53f155d71;p=lttv.git diff --git a/ltt/branches/poly/ltt/parser.h b/ltt/branches/poly/ltt/parser.h index 5a4c5b02..c0394049 100644 --- a/ltt/branches/poly/ltt/parser.h +++ b/ltt/branches/poly/ltt/parser.h @@ -111,7 +111,8 @@ typedef struct _type_descriptor { sequence_t labels_description; int already_printed; sequence_t fields; // for structure, array and sequence (field_t type) - int custom_write; /* Should we use a custom write function ? */ + int custom_write; /* Should we use a custom write function ? */ + int network; /* Is the type a in network byte order ? */ } type_descriptor_t; @@ -144,6 +145,7 @@ typedef struct _facility { sequence_t unnamed_types; //FIXME : remove table_t named_types; unsigned int checksum; + int user; /* Is this a userspace facility ? */ } facility_t; int getSizeindex(unsigned int value); @@ -171,8 +173,7 @@ void generateChecksum(char * facName, char * getNameAttribute(parse_file_t *in); char * getFormatAttribute(parse_file_t *in); int getSizeAttribute(parse_file_t *in); -int getValueAttribute(parse_file_t *in); -char * getValueStrAttribute(parse_file_t *in); +int getValueAttribute(parse_file_t *in, long long *value); char * getDescription(parse_file_t *in);