diff options
author | Tomas Kukosa <tomas.kukosa@siemens.com> | 2005-04-28 09:51:55 +0000 |
---|---|---|
committer | Tomas Kukosa <tomas.kukosa@siemens.com> | 2005-04-28 09:51:55 +0000 |
commit | 3be38ac077d2ac85edc14df5c493a41accb7f5d1 (patch) | |
tree | c837f2f2c3f01445834ec7738770689266639ce1 /epan/to_str.h | |
parent | 14cd9627b75f37d04a8f463cb8081d5b4164c7a1 (diff) |
New oid_to_str() and oid_to_str_buf() functions
svn path=/trunk/; revision=14216
Diffstat (limited to 'epan/to_str.h')
-rw-r--r-- | epan/to_str.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/epan/to_str.h b/epan/to_str.h index e2db7f4d8c..1f030bd36d 100644 --- a/epan/to_str.h +++ b/epan/to_str.h @@ -30,6 +30,8 @@ #include "nstime.h" #include "epan/packet_info.h" +#define MAX_OID_STR_LEN 256 + /* * Resolution of a time stamp. */ @@ -67,6 +69,8 @@ extern gchar* abs_time_secs_to_str(time_t); extern void display_signed_time(gchar *, int, gint32, gint32, time_res_t); extern gchar* rel_time_to_str(nstime_t*); extern gchar* rel_time_to_secs_str(nstime_t*); +extern gchar* oid_to_str(guint8*, gint); +extern gchar* oid_to_str_buf(guint8*, gint, gchar*); extern char *other_decode_bitfield_value(char *buf, guint32 val, guint32 mask, |