aboutsummaryrefslogtreecommitdiffstats
path: root/epan/packet.h
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2000-12-03 22:12:21 +0000
committerGuy Harris <guy@alum.mit.edu>2000-12-03 22:12:21 +0000
commit35b1907af87279b60986b7526af04e8f0956faa9 (patch)
tree2290a779644474081d02d55c2134f76146d08bb3 /epan/packet.h
parent6c4de764d133b12f9694dfdf4f46421b25db336f (diff)
downloadwireshark-35b1907af87279b60986b7526af04e8f0956faa9.tar.gz
wireshark-35b1907af87279b60986b7526af04e8f0956faa9.tar.bz2
wireshark-35b1907af87279b60986b7526af04e8f0956faa9.zip
Pull the code to set the fields in the "cfile.cinfo" structure into a
common routine to initialize a "column_info()" structure, shared by Ethereal and Tethereal. svn path=/trunk/; revision=2739
Diffstat (limited to 'epan/packet.h')
-rw-r--r--epan/packet.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/epan/packet.h b/epan/packet.h
index d780875ed3..36957decd3 100644
--- a/epan/packet.h
+++ b/epan/packet.h
@@ -1,7 +1,7 @@
/* packet.h
* Definitions for packet disassembly structures and routines
*
- * $Id: packet.h,v 1.11 2000/11/21 14:15:21 girlich Exp $
+ * $Id: packet.h,v 1.12 2000/12/03 22:12:19 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@zing.org>
@@ -69,6 +69,10 @@ typedef struct _column_info {
#define COL_MAX_LEN 256
#define COL_MAX_INFO_LEN 4096
+/* Allocate all the data structures for constructing column data, given
+ the number of columns. */
+void col_init(column_info *, gint);
+
typedef struct _packet_counts {
gint sctp;
gint tcp;