diff options
author | Martin Mathieson <martin.r.mathieson@googlemail.com> | 2023-09-15 14:17:51 +0000 |
---|---|---|
committer | Martin Mathieson <martin.r.mathieson@googlemail.com> | 2023-09-15 14:17:51 +0000 |
commit | 6d5496f192aee623697ac94c664c02c2a8aa2989 (patch) | |
tree | e30c1b19944dfea3b92c2bd6af4ce366ee2bb254 /epan/oids.c | |
parent | d11826a051af92ef65b3671074ceab2526e6e66d (diff) |
E2AP: moving towards a better design
Diffstat (limited to 'epan/oids.c')
-rw-r--r-- | epan/oids.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/epan/oids.c b/epan/oids.c index 79632a83d1..76063b5346 100644 --- a/epan/oids.c +++ b/epan/oids.c @@ -899,6 +899,7 @@ char* rel_oid_subid2string(wmem_allocator_t *scope, guint32* subids, guint len, return wmem_strbuf_finalize(oid_str); } +/* If a valid OID string, return number of numbers */ static guint check_num_oid(const char* str) { const char* r = str; char c = '.'; @@ -925,6 +926,7 @@ static guint check_num_oid(const char* str) { return n; } +/* Set subids_p to an array of found numbers, return number of numbers */ guint oid_string2subid(wmem_allocator_t *scope, const char* str, guint32** subids_p) { const char* r = str; guint32* subids; |