summaryrefslogtreecommitdiff
path: root/ui/tap-sequence-analysis.h
diff options
context:
space:
mode:
authorGerald Combs <gerald@wireshark.org>2014-11-24 14:51:13 -0600
committerGerald Combs <gerald@wireshark.org>2014-11-26 00:04:05 +0000
commit2ebaa59a3b195c30b1b3aa746c266ee6159fe6f7 (patch)
tree977b20e058e48d23571aa1576d8ef0a8935be118 /ui/tap-sequence-analysis.h
parent5b360a96716eb9aadb91096108c23c047d7bcb70 (diff)
downloadwireshark-2ebaa59a3b195c30b1b3aa746c266ee6159fe6f7.tar.gz
Consolidate sequence analysis code.
Move scattered code for seq_analysis_info_t creation and destruction to tap-sequence-analysis.[ch]. Change-Id: I87c14b1c83105a48d0ab149a3abba71e2a2fe21f Reviewed-on: https://code.wireshark.org/review/5479 Petri-Dish: Gerald Combs <gerald@wireshark.org> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Gerald Combs <gerald@wireshark.org>
Diffstat (limited to 'ui/tap-sequence-analysis.h')
-rw-r--r--ui/tap-sequence-analysis.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/ui/tap-sequence-analysis.h b/ui/tap-sequence-analysis.h
index 1fedf838af..b8262f7d5b 100644
--- a/ui/tap-sequence-analysis.h
+++ b/ui/tap-sequence-analysis.h
@@ -77,6 +77,16 @@ typedef struct _seq_analysis_info {
guint32 num_nodes; /**< actual number of nodes */
} seq_analysis_info_t;
+/** Create and initialize a seq_analysis_info_t struct
+ * @return A pointer to a newly allocated seq_analysis_info_t struct.
+ */
+seq_analysis_info_t *sequence_analysis_info_new(void);
+
+/** Free a seq_analysis_info_t struct.
+ * @param sainfo A pointer to the seq_analysis_info_t struct to be freed.
+ */
+void sequence_analysis_info_free(seq_analysis_info_t * sainfo);
+
/** Fill in the segment list for sequence analysis
*
* @param cf Capture file to scan