fix parser.c .h for standard XML
[lttv.git] / ltt / branches / poly / ltt / parser.h
index 21884fb6d0b82d35f44bd4cc12ee19e5f3e7a799..70e89cb0ffc33064879442073937d8366e471c6b 100644 (file)
@@ -111,6 +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 network;    /* Is the type a in network byte order ? */
 } type_descriptor_t;
 
 
@@ -137,6 +139,7 @@ typedef struct _event {
 typedef struct _facility {
   char * name;
        char * capname;
+       char * arch;
   char * description;
   sequence_t events;
   sequence_t unnamed_types; //FIXME : remove
@@ -169,8 +172,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);
 
This page took 0.025237 seconds and 4 git commands to generate.