aboutsummaryrefslogtreecommitdiffstats
path: root/epan/sequence_analysis.h
diff options
context:
space:
mode:
Diffstat (limited to 'epan/sequence_analysis.h')
-rw-r--r--epan/sequence_analysis.h12
1 files changed, 9 insertions, 3 deletions
diff --git a/epan/sequence_analysis.h b/epan/sequence_analysis.h
index 638be5cb2c..59913e52db 100644
--- a/epan/sequence_analysis.h
+++ b/epan/sequence_analysis.h
@@ -1,4 +1,4 @@
-/* sequence-analysis.h
+/** @file
* Flow sequence analysis
*
* Copied from gtk/graph_analysis.h
@@ -34,6 +34,12 @@ extern "C" {
#define MAX_NUM_NODES 40
+/** defines info types for graph analysis additional information */
+typedef enum _ga_info_type {
+ GA_INFO_TYPE_NONE=0,
+ GA_INFO_TYPE_RTP
+} ga_info_type;
+
/** defines an entry for the graph analysis */
typedef struct _seq_analysis_item {
guint32 frame_number;
@@ -52,7 +58,7 @@ typedef struct _seq_analysis_item {
guint src_node; /**< this is used by graph_analysis.c to identify the node */
guint dst_node; /**< a node is an IP address that will be displayed in columns */
guint16 line_style; /**< the arrow line width in pixels*/
- guint32 info_type; /**< type of info for item */
+ ga_info_type info_type; /**< type of info for item */
gpointer info_ptr; /**< ptr to info for item */
} seq_analysis_item_t;
@@ -72,7 +78,7 @@ typedef struct register_analysis register_analysis_t;
#if 0
#define SEQ_ANALYSIS_DEBUG(...) { \
- char *SEQ_ANALYSIS_DEBUG_MSG = g_strdup_printf(__VA_ARGS__); \
+ char *SEQ_ANALYSIS_DEBUG_MSG = ws_strdup_printf(__VA_ARGS__); \
ws_warning("sequence analysis: %s:%d %s", G_STRFUNC, __LINE__, SEQ_ANALYSIS_DEBUG_MSG); \
g_free(SEQ_ANALYSIS_DEBUG_MSG); \
}