X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=genevent%2Fparser.h;h=e75f2b5fcd2a5f18ee6a3a90245a1f361048d441;hb=9774b764394b743972738bb2a4dcabe1278d5b20;hp=661207761223ab1094b91aac5ec3932bcc11f561;hpb=3888436ce256d6b48f9354006a2acc8a25fb6889;p=lttv.git diff --git a/genevent/parser.h b/genevent/parser.h index 66120776..e75f2b5f 100644 --- a/genevent/parser.h +++ b/genevent/parser.h @@ -68,8 +68,6 @@ char seekNextChar(parse_file *in); void skipComment(parse_file * in); void skipEOL(parse_file * in); -int isalpha(char car); -int isalnum(char car); /* Some constants */ @@ -81,6 +79,12 @@ static const int BUFFER_SIZE = 1024; typedef enum _data_type { INT, UINT, + POINTER, + LONG, + ULONG, + SIZE_T, + SSIZE_T, + OFF_T, FLOAT, STRING, ENUM, @@ -91,7 +95,6 @@ typedef enum _data_type { NONE } data_type; - /* Event type descriptors */ typedef struct _type_descriptor { @@ -100,8 +103,11 @@ typedef struct _type_descriptor { char *fmt; int size; sequence labels; // for enumeration + sequence labels_description; + int already_printed; sequence fields; // for structure struct _type_descriptor *nested_type; // for array and sequence + int alignment; } type_descriptor; @@ -124,6 +130,7 @@ typedef struct _event { typedef struct _facility { char * name; + char * capname; char * description; sequence events; sequence unnamed_types;