Support for reading compressed Sniffer files, from Tim Farley, Joerg
[obnox/wireshark/wip.git] / wiretap / ascend-int.h
index 83994ff5ef68fec95206dbad9ce7279e5e3141f6..2b0f143c41c40c08ce70cb3f3c17d73573f6e05a 100644 (file)
@@ -2,7 +2,7 @@
  * Definitions for routines common to multiple modules in the Lucent/Ascend
  * capture file reading code code, but not used outside that code.
  *
- * $Id: ascend-int.h,v 1.3 1999/10/10 18:16:43 guy Exp $
+ * $Id: ascend-int.h,v 1.6 2000/05/19 08:18:14 guy Exp $
  *
  * Ethereal - Network traffic analyzer
  * By Gerald Combs <gerald@zing.org>
@@ -34,11 +34,17 @@ typedef struct {
   guint32 len;
 } ascend_pkthdr;
 
+/*
+ * Pointer to the pseudo-header for the current packet.
+ */
+extern struct ascend_phdr *pseudo_header;
+
 /* Here we provide interfaces to make our scanner act and look like lex */
 int ascendlex(void);
 
 void init_parse_ascend(void);
-int parse_ascend(FILE *fh, void *pd, struct ascend_phdr *phdr,
+void ascend_init_lexer(FILE_T fh, FILE *nfh);
+int parse_ascend(FILE_T fh, void *pd, struct ascend_phdr *phdr,
                ascend_pkthdr *hdr, int len);
 
 #endif /* ! __ASCEND_INT_H__ */