projects
/
lttv.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
network byte order + state multitraces fix
[lttv.git]
/
ltt
/
branches
/
poly
/
ltt
/
parser.c
diff --git
a/ltt/branches/poly/ltt/parser.c
b/ltt/branches/poly/ltt/parser.c
index 55d7c96cce9f945aa7becd4eea3a7a88b2afd8ac..2d8c9c4ae2f992d4f4252181caeb11747b140bd9 100644
(file)
--- a/
ltt/branches/poly/ltt/parser.c
+++ b/
ltt/branches/poly/ltt/parser.c
@@
-183,6
+183,7
@@
void getTypeAttributes(parse_file_t *in, type_descriptor_t *t,
t->fmt = NULL;
t->size = 0;
t->custom_write = 0;
t->fmt = NULL;
t->size = 0;
t->custom_write = 0;
+ t->network = 0;
while(1) {
token = getToken(in);
while(1) {
token = getToken(in);
@@
-205,7
+206,9
@@
void getTypeAttributes(parse_file_t *in, type_descriptor_t *t,
t->size = getSize(in);
} else if(!strcmp("custom_write", token)) {
t->custom_write = 1;
t->size = getSize(in);
} else if(!strcmp("custom_write", token)) {
t->custom_write = 1;
- }
+ } else if(!strcmp("network", token)) {
+ t->network = 1;
+ }
}
}
}
}
@@
-327,7
+330,7
@@
void getFieldAttributes(parse_file_t *in, field_t *f)
else if(car == '\"') f->name = allocAndCopy(getQuotedString(in));
else f->name = allocAndCopy(getName(in));
}
else if(car == '\"') f->name = allocAndCopy(getQuotedString(in));
else f->name = allocAndCopy(getName(in));
}
- }
+
}
}
char *getNameAttribute(parse_file_t *in)
}
char *getNameAttribute(parse_file_t *in)
This page took
0.022962 seconds
and
4
git commands to generate.