X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=genevent%2Fparser.h;h=83777c34c0e544a9141cf698945d3827c44c94db;hb=ddd2aaff15bd8c90824fd346e60912d59e2f7e07;hp=661207761223ab1094b91aac5ec3932bcc11f561;hpb=3888436ce256d6b48f9354006a2acc8a25fb6889;p=lttv.git diff --git a/genevent/parser.h b/genevent/parser.h index 66120776..83777c34 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,6 +103,8 @@ 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 } type_descriptor; @@ -124,6 +129,7 @@ typedef struct _event { typedef struct _facility { char * name; + char * capname; char * description; sequence events; sequence unnamed_types;