Code Review
/
com
/
gs-lite.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
| inline |
side by side
Added protobuf support
[com/gs-lite.git]
/
include
/
lfta
/
schema_prototypes.h
diff --git
a/include/lfta/schema_prototypes.h
b/include/lfta/schema_prototypes.h
index
7a02b4c
..
c50e508
100644
(file)
--- a/
include/lfta/schema_prototypes.h
+++ b/
include/lfta/schema_prototypes.h
@@
-60,6
+60,11
@@
static inline gs_retval_t get_system_time(struct packet * p, gs_uint32_t * t)
*t=(gs_uint32_t) p->systemTime;
return 0;
}
+static inline gs_retval_t get_schemaId(struct packet * p, gs_uint32_t * t)
+{
+ *t=(gs_uint32_t) p->schema;
+ return 0;
+}
/* CSV access function using position as 3rd argument */