summaryrefslogtreecommitdiffstats
path: root/wiretap/ascendtext.h
diff options
context:
space:
mode:
Diffstat (limited to 'wiretap/ascendtext.h')
-rw-r--r--wiretap/ascendtext.h24
1 files changed, 24 insertions, 0 deletions
diff --git a/wiretap/ascendtext.h b/wiretap/ascendtext.h
new file mode 100644
index 00000000..74ad6986
--- /dev/null
+++ b/wiretap/ascendtext.h
@@ -0,0 +1,24 @@
+/** @file
+ *
+ * Wiretap Library
+ * Copyright (c) 1998 by Gilbert Ramirez <gram@alumni.rice.edu>
+ *
+ * SPDX-License-Identifier: GPL-2.0-or-later
+ *
+ */
+
+#ifndef __ASCENDTEXT_H__
+#define __ASCENDTEXT_H__
+#include <glib.h>
+
+/*
+ * ASCEND_MAX_PKT_LEN is < WTAP_MAX_PACKET_SIZE_STANDARD, so we don't need to
+ * check the packet length.
+ */
+#define ASCEND_MAX_DATA_ROWS 8
+#define ASCEND_MAX_DATA_COLS 16
+#define ASCEND_MAX_PKT_LEN (ASCEND_MAX_DATA_ROWS * ASCEND_MAX_DATA_COLS)
+
+wtap_open_return_val ascend_open(wtap *wth, int *err, gchar **err_info);
+
+#endif