diff options
author | Michael Mann <mmann78@netscape.net> | 2015-03-19 20:59:42 -0400 |
---|---|---|
committer | Anders Broman <a.broman58@gmail.com> | 2015-03-20 05:30:52 +0000 |
commit | e7fd1bfdf75a76c1d39f9ba809a40e3c0859c7fa (patch) | |
tree | ba351512fefa11a51d9fa23a9ee1ccd9865269be /epan/print.h | |
parent | 019c3af0b1a1720a83b3b174649ba8837156ce09 (diff) | |
download | wireshark-e7fd1bfdf75a76c1d39f9ba809a40e3c0859c7fa.tar.gz wireshark-e7fd1bfdf75a76c1d39f9ba809a40e3c0859c7fa.tar.bz2 wireshark-e7fd1bfdf75a76c1d39f9ba809a40e3c0859c7fa.zip |
Reduce epan dependence on dissectors by having print module "cache" the protocol and field ids that it needs.
Change-Id: I4ec48067e9ca2cbe88e1cf2e6c9dc1e382379221
Reviewed-on: https://code.wireshark.org/review/7767
Reviewed-by: Michael Mann <mmann78@netscape.net>
Petri-Dish: Michael Mann <mmann78@netscape.net>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Reviewed-by: Anders Broman <a.broman58@gmail.com>
Diffstat (limited to 'epan/print.h')
-rw-r--r-- | epan/print.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/epan/print.h b/epan/print.h index 95bc6a9da2..334de3a29b 100644 --- a/epan/print.h +++ b/epan/print.h @@ -123,6 +123,8 @@ WS_DLL_PUBLIC void write_fields_finale(output_fields_t* fields, FILE *fh); WS_DLL_PUBLIC gchar* get_node_field_value(field_info* fi, epan_dissect_t* edt); +extern void print_cache_field_handles(void); + #ifdef __cplusplus } #endif /* __cplusplus */ |