Add missing have_postdissector(); (Hopefully what was intended).

svn path=/trunk/; revision=25342
This commit is contained in:
Bill Meier 2008-05-21 16:40:15 +00:00
parent 5a43cd6358
commit ad761ed3fd
2 changed files with 6 additions and 0 deletions

View File

@ -1865,6 +1865,11 @@ void register_postdissector(dissector_handle_t handle) {
num_of_postdissectors++;
}
boolean
have_postdissector() {
return (num_of_postdissectors > 0);
}
extern void call_all_postdissectors(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) {
guint i;
for(i=0;i<num_of_postdissectors;i++) {

View File

@ -405,6 +405,7 @@ extern void dissector_dump_decodes(void);
* dissector has been called.
*/
extern void register_postdissector(dissector_handle_t);
extern boolean have_postdissector();
extern void call_all_postdissectors(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree);
#ifdef __cplusplus