diff options
author | Guy Harris <guy@alum.mit.edu> | 2014-11-16 18:25:56 -0800 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2014-11-17 02:26:57 +0000 |
commit | 25f950eca945dde38bdbeb96c2c5dc4e9ea72029 (patch) | |
tree | 6f794521f0fb2f12859ef7ffa62ec8032d847d60 /epan/packet.h | |
parent | 57b72275b7f5c5ef99208fbcf7aa6647451f4c4d (diff) |
Add tshark -G dissector-tables to dump a list of dissector tables.
That list doesn't show the entries in the dissector tables, just
information about the tables themselves.
Clean up some tshark man page issues while we're at it.
Change-Id: I70beee34110f5c0d58105944dd71105a8400f5ca
Reviewed-on: https://code.wireshark.org/review/5360
Reviewed-by: Guy Harris <guy@alum.mit.edu>
Diffstat (limited to 'epan/packet.h')
-rw-r--r-- | epan/packet.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/epan/packet.h b/epan/packet.h index afa17d93ad..507e9b2aaf 100644 --- a/epan/packet.h +++ b/epan/packet.h @@ -214,6 +214,10 @@ WS_DLL_PUBLIC ftenum_t get_dissector_table_selector_type(const char *name); sub-dissector table, given the table's internal name */ WS_DLL_PUBLIC int get_dissector_table_base(const char *name); +/* Dump all dissector tables to the standard output (not the entries, + just the information about the tables) */ +WS_DLL_PUBLIC void dissector_dump_dissector_tables(void); + /* Add an entry to a uint dissector table. */ WS_DLL_PUBLIC void dissector_add_uint(const char *abbrev, const guint32 pattern, dissector_handle_t handle); |