Avoid including <epan/range.h> in dissectors.
svn path=/trunk/; revision=54315
This commit is contained in:
parent
064082e68a
commit
90858e3058
|
@ -56,6 +56,7 @@
|
|||
#include <epan/reassemble.h>
|
||||
#include <epan/stream.h>
|
||||
#include <epan/expert.h>
|
||||
#include <epan/range.h>
|
||||
|
||||
static gint proto_malformed = -1;
|
||||
static dissector_handle_t frame_handle = NULL;
|
||||
|
|
|
@ -34,12 +34,13 @@
|
|||
#include "column-utils.h"
|
||||
#include "tfs.h"
|
||||
#include "ws_symbol_export.h"
|
||||
#include "range.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif /* __cplusplus */
|
||||
|
||||
struct epan_range;
|
||||
|
||||
/** @defgroup packet General Packet Dissection
|
||||
*
|
||||
* @{
|
||||
|
@ -221,7 +222,7 @@ WS_DLL_PUBLIC void dissector_add_uint(const char *abbrev, const guint32 pattern,
|
|||
dissector_handle_t handle);
|
||||
|
||||
/* Add an range of entries to a uint dissector table. */
|
||||
WS_DLL_PUBLIC void dissector_add_uint_range(const char *abbrev, range_t *range,
|
||||
WS_DLL_PUBLIC void dissector_add_uint_range(const char *abbrev, struct epan_range *range,
|
||||
dissector_handle_t handle);
|
||||
|
||||
/* Delete the entry for a dissector in a uint dissector table
|
||||
|
@ -230,7 +231,7 @@ WS_DLL_PUBLIC void dissector_delete_uint(const char *name, const guint32 pattern
|
|||
dissector_handle_t handle);
|
||||
|
||||
/* Delete an range of entries from a uint dissector table. */
|
||||
WS_DLL_PUBLIC void dissector_delete_uint_range(const char *abbrev, range_t *range,
|
||||
WS_DLL_PUBLIC void dissector_delete_uint_range(const char *abbrev, struct epan_range *range,
|
||||
dissector_handle_t handle);
|
||||
|
||||
/* Delete all entries from a dissector table. */
|
||||
|
|
|
@ -47,7 +47,7 @@ typedef struct range_admin_tag {
|
|||
} range_admin_t;
|
||||
|
||||
/** user specified range(s) */
|
||||
typedef struct range {
|
||||
typedef struct epan_range {
|
||||
guint nranges; /**< number of entries in ranges */
|
||||
range_admin_t ranges[1]; /**< variable-length array */
|
||||
} range_t;
|
||||
|
|
Loading…
Reference in New Issue