diff options
author | Michael Mann <mmann78@netscape.net> | 2016-03-02 09:13:08 -0500 |
---|---|---|
committer | Michael Mann <mmann78@netscape.net> | 2016-03-03 17:02:10 +0000 |
commit | d7de3515db98a7444fe527c82de43bfaf550b698 (patch) | |
tree | 646ad2af6362088bdad5eb110957294aec0ea779 /wiretap/wtap_opttypes.h | |
parent | 28b76dbb9e3b7f1c4469fcb20d60371888fa7c00 (diff) |
Refactor wiretap option block types into a registration system.
Also required mergecap to look for plugins to initialize wiretap option blocks.
Change-Id: I4208d1028dd0f94f185393801d72025329266cb7
Reviewed-on: https://code.wireshark.org/review/14300
Petri-Dish: Michael Mann <mmann78@netscape.net>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Reviewed-by: Michael Mann <mmann78@netscape.net>
Diffstat (limited to 'wiretap/wtap_opttypes.h')
-rw-r--r-- | wiretap/wtap_opttypes.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/wiretap/wtap_opttypes.h b/wiretap/wtap_opttypes.h index f25e07f388..7d404f221d 100644 --- a/wiretap/wtap_opttypes.h +++ b/wiretap/wtap_opttypes.h @@ -29,7 +29,8 @@ typedef enum { WTAP_OPTION_BLOCK_IF_DESCR = 0, WTAP_OPTION_BLOCK_IF_STATS, WTAP_OPTION_BLOCK_NG_SECTION, - WTAP_OPTION_BLOCK_NG_NRB + WTAP_OPTION_BLOCK_NG_NRB, + WTAP_OPTION_BLOCK_MAX_TYPE } wtap_optionblock_type_t; /* Currently supported option types */ |