Skip to content

Commit 82bbe5d

Browse files
committed
UniRec output: Introduce mapping for internal ODID field
1 parent 869c6ce commit 82bbe5d

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

extra_plugins/output/unirec/src/map.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -232,6 +232,8 @@ map_elem_get_internal(const char *elem)
232232
return MAP_SRC_INTERNAL_LBF;
233233
} else if (strcmp(elem, "_internal_dbf_") == 0) {
234234
return MAP_SRC_INTERNAL_DBF;
235+
} else if (strcmp(elem, "_internal_odid_") == 0) {
236+
return MAP_SRC_INTERNAL_ODID;
235237
} else {
236238
return MAP_SRC_INVALID;
237239
}

extra_plugins/output/unirec/src/map.h

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,9 @@ enum MAP_SRC {
5858
/** Internal "link bit field" converter */
5959
MAP_SRC_INTERNAL_LBF,
6060
/** Internal "dir bit field" converter */
61-
MAP_SRC_INTERNAL_DBF
61+
MAP_SRC_INTERNAL_DBF,
62+
/** Internal "odid field" converter */
63+
MAP_SRC_INTERNAL_ODID
6264
};
6365

6466
enum MAP_FLAGS {

0 commit comments

Comments
 (0)