void skipComment(parse_file * in);
void skipEOL(parse_file * in);
-int isalpha(char car);
-int isalnum(char car);
/* Some constants */
typedef enum _data_type {
INT,
UINT,
+ POINTER,
+ LONG,
+ ULONG,
+ SIZE_T,
+ SSIZE_T,
+ OFF_T,
FLOAT,
STRING,
ENUM,
NONE
} data_type;
-
/* Event type descriptors */
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;
char *name;
char *description;
type_descriptor *type;
+ int per_trace; /* Is the event able to be logged to a specific trace ? */
+ int per_tracefile; /* Must we log this event in a specific tracefile ? */
} event;
typedef struct _facility {
char * name;
+ char * capname;
char * description;
sequence events;
sequence unnamed_types;