diff options
author | Gerald Combs <gerald@wireshark.org> | 2013-12-10 20:23:33 +0000 |
---|---|---|
committer | Gerald Combs <gerald@wireshark.org> | 2013-12-10 20:23:33 +0000 |
commit | 5be6dd5feb57180436e741f2abd5edd4f88a5147 (patch) | |
tree | c613616dac6cfdb649b222f4008ea2f6029a6fbf /epan | |
parent | 61461ccc6ce33e1cda9e396d4440be70d0bd3e3f (diff) |
Remove config.h includes from proto.h and tap.h.
svn path=/trunk/; revision=53913
Diffstat (limited to 'epan')
-rw-r--r-- | epan/proto.h | 4 | ||||
-rw-r--r-- | epan/tap.h | 12 |
2 files changed, 6 insertions, 10 deletions
diff --git a/epan/proto.h b/epan/proto.h index b6a091dab7..2085ec5e49 100644 --- a/epan/proto.h +++ b/epan/proto.h @@ -37,8 +37,6 @@ #ifndef __PROTO_H__ #define __PROTO_H__ -#include "config.h" - #ifdef HAVE_STDARG_H # include <stdarg.h> #else @@ -773,7 +771,7 @@ WS_DLL_PUBLIC void proto_tree_set_appendix(proto_tree *tree, tvbuff_t *tvb, gint /** Add an item to a proto_tree, using the text label registered to that item. The item is extracted from the tvbuff handed to it. @param tree the tree to append this item to - @param hfinfo field + @param hfinfo field @param tvb the tv buffer of the current data @param start start of data in tvb @param length length of data in tvb diff --git a/epan/tap.h b/epan/tap.h index ea413f38db..fe1f4f6ca4 100644 --- a/epan/tap.h +++ b/epan/tap.h @@ -25,8 +25,6 @@ #ifndef __TAP_H__ #define __TAP_H__ -#include "config.h" - #include <epan/epan.h> #include "ws_symbol_export.h" @@ -130,7 +128,7 @@ WS_DLL_PUBLIC void reset_tap_listeners(void); /** This function is called when we need to redraw all tap listeners, for example * when we open/start a new capture or if we need to rescan the packet list. - * It should be called from a low priority thread say once every 3 seconds + * It should be called from a low priority thread say once every 3 seconds * * If draw_all is true, redraw all aplications regardless if they have * changed or not. @@ -156,7 +154,7 @@ WS_DLL_PUBLIC void draw_tap_listeners(gboolean draw_all); * to apply this string to the packet and then only pass those packets that * matched the filter to your listener. * The syntax for the filter string is identical to normal display filters. - * + * * NOTE: Specifying filter strings will have a significant performance impact * on your application and Wireshark. If possible it is MUCH better to take * unfiltered data and just filter it yourself in the packet-callback than @@ -166,7 +164,7 @@ WS_DLL_PUBLIC void draw_tap_listeners(gboolean draw_all); * @param flags is a set of flags for the tap listener. The flags that can be set are: * * TL_REQUIRES_PROTO_TREE - * + * * set if your tap listener "packet" routine requires a protocol * tree to be built. It will require a protocol tree to be * built if either @@ -174,7 +172,7 @@ WS_DLL_PUBLIC void draw_tap_listeners(gboolean draw_all); * 1) it looks at the protocol tree in edt->tree * * or - * + * * 2) the tap-specific data passed to it is constructed only if * the protocol tree is being built. * @@ -184,7 +182,7 @@ WS_DLL_PUBLIC void draw_tap_listeners(gboolean draw_all); * strings to be constructed. * * If no flags are needed, use TL_REQUIRES_NOTHING. - * + * * @param tap_reset void (*reset)(void *tapdata) * This callback is called whenever Wireshark wants to inform your * listener that it is about to start [re]reading a capture file or a new capture |