projects
/
lttv.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
large files support
[lttv.git]
/
genevent
/
parser.h
diff --git
a/genevent/parser.h
b/genevent/parser.h
index 661207761223ab1094b91aac5ec3932bcc11f561..83777c34c0e544a9141cf698945d3827c44c94db 100644
(file)
--- 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);
void skipComment(parse_file * in);
void skipEOL(parse_file * in);
-int isalpha(char car);
-int isalnum(char car);
/* Some constants */
/* Some constants */
@@
-81,6
+79,12
@@
static const int BUFFER_SIZE = 1024;
typedef enum _data_type {
INT,
UINT,
typedef enum _data_type {
INT,
UINT,
+ POINTER,
+ LONG,
+ ULONG,
+ SIZE_T,
+ SSIZE_T,
+ OFF_T,
FLOAT,
STRING,
ENUM,
FLOAT,
STRING,
ENUM,
@@
-91,7
+95,6
@@
typedef enum _data_type {
NONE
} data_type;
NONE
} data_type;
-
/* Event type descriptors */
typedef struct _type_descriptor {
/* Event type descriptors */
typedef struct _type_descriptor {
@@
-100,6
+103,8
@@
typedef struct _type_descriptor {
char *fmt;
int size;
sequence labels; // for enumeration
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;
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;
typedef struct _facility {
char * name;
+ char * capname;
char * description;
sequence events;
sequence unnamed_types;
char * description;
sequence events;
sequence unnamed_types;
This page took
0.023456 seconds
and
4
git commands to generate.