diff options
author | Evan Huus <eapache@gmail.com> | 2013-03-29 02:34:23 +0000 |
---|---|---|
committer | Evan Huus <eapache@gmail.com> | 2013-03-29 02:34:23 +0000 |
commit | a0d107beec7608c673f584e30987afc42061a514 (patch) | |
tree | a5e51f8d72c4b147c535c49464562eb78dd07c86 /epan/value_string.h | |
parent | 37600a157ba2036a79a5ebf466b31b8eee19244e (diff) |
Remove decode_enumerated_bitfield and decode_enumerated_bitfield_shifted.
Effectively inline the only remain call (and replace a static buffer with ep
memory). Much of the NFS dissector needs to be converted to use named fields
at which point this code can go away, but that's a much bigger job.
Also, add modelines to packet-nfs.c and mark some internal value_string
functions as WS_DLL_LOCAL.
svn path=/trunk/; revision=48635
Diffstat (limited to 'epan/value_string.h')
-rw-r--r-- | epan/value_string.h | 19 |
1 files changed, 7 insertions, 12 deletions
diff --git a/epan/value_string.h b/epan/value_string.h index cdb8a8272a..de12e52a52 100644 --- a/epan/value_string.h +++ b/epan/value_string.h @@ -135,17 +135,12 @@ try_rval_to_str_idx(const guint32 val, const range_string *rs, gint *idx); /* MISC (generally do not use) */ -gboolean value_string_ext_validate(const value_string_ext *vse); -const gchar *value_string_ext_match_type_str(const value_string_ext *vse); - -/* Generate a string describing an enumerated bitfield (an N-bit field - with various specific values having particular names). */ -WS_DLL_PUBLIC const char *decode_enumerated_bitfield(const guint32 val, const guint32 mask, - const int width, const value_string *tab, const char *fmt); - -/* Generate a string describing an enumerated bitfield (an N-bit field - with various specific values having particular names). */ -WS_DLL_PUBLIC const char *decode_enumerated_bitfield_shifted(const guint32 val, const guint32 mask, - const int width, const value_string *tab, const char *fmt); +WS_DLL_LOCAL +gboolean +value_string_ext_validate(const value_string_ext *vse); + +WS_DLL_LOCAL +const gchar* +value_string_ext_match_type_str(const value_string_ext *vse); #endif /* __VALUE_STRING_H__ */ |