diff options
author | Gilbert Ramirez <gram@alumni.rice.edu> | 2000-05-19 23:07:04 +0000 |
---|---|---|
committer | Gilbert Ramirez <gram@alumni.rice.edu> | 2000-05-19 23:07:04 +0000 |
commit | d7e6e0e384967a4d3ac1f57d6446f5a04e83b3c6 (patch) | |
tree | 349138fc92b8d0ed8fa5f5f4be28c0be0ed92b41 /wiretap/i4btrace.c | |
parent | 586e1b6fca8da9b031bb99b7010c3c77fbd85045 (diff) | |
download | wireshark-d7e6e0e384967a4d3ac1f57d6446f5a04e83b3c6.tar.gz wireshark-d7e6e0e384967a4d3ac1f57d6446f5a04e83b3c6.tar.bz2 wireshark-d7e6e0e384967a4d3ac1f57d6446f5a04e83b3c6.zip |
Add wtap-int.h. Move definitions relevant to the internal workins of wiretap
to that file, leave public definitions in wtap.h.
Rename "union pseudo_header" to "union wtap_pseudo_header".
Make the wtap_pseudo_header pointer available in packet_info struct.
svn path=/trunk/; revision=1989
Diffstat (limited to 'wiretap/i4btrace.c')
-rw-r--r-- | wiretap/i4btrace.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/wiretap/i4btrace.c b/wiretap/i4btrace.c index 4cee96cfbe..115fc76017 100644 --- a/wiretap/i4btrace.c +++ b/wiretap/i4btrace.c @@ -1,6 +1,6 @@ /* i4btrace.c * - * $Id: i4btrace.c,v 1.6 2000/05/19 08:18:15 guy Exp $ + * $Id: i4btrace.c,v 1.7 2000/05/19 23:06:50 gram Exp $ * * Wiretap Library * Copyright (c) 1999 by Bert Driehuis <driehuis@playbeing.org> @@ -27,14 +27,14 @@ #include <stdlib.h> #include <errno.h> #include <time.h> -#include "wtap.h" +#include "wtap-int.h" #include "file_wrappers.h" #include "buffer.h" #include "i4b_trace.h" static int i4btrace_read(wtap *wth, int *err); static int i4btrace_seek_read(wtap *wth, int seek_off, - union pseudo_header *pseudo_header, u_char *pd, int length); + union wtap_pseudo_header *pseudo_header, u_char *pd, int length); static int i4b_read_rec_header(FILE_T fh, i4b_trace_hdr_t *hdr, int *err); static void i4b_byte_swap_header(wtap *wth, i4b_trace_hdr_t *hdr); static int i4b_read_rec_data(FILE_T fh, char *pd, int length, int *err); @@ -195,7 +195,7 @@ static int i4btrace_read(wtap *wth, int *err) static int i4btrace_seek_read(wtap *wth, int seek_off, - union pseudo_header *pseudo_header, u_char *pd, int length) + union wtap_pseudo_header *pseudo_header, u_char *pd, int length) { int ret; int err; /* XXX - return this */ |