diff options
author | Guy Harris <guy@alum.mit.edu> | 2002-07-29 06:09:59 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2002-07-29 06:09:59 +0000 |
commit | 6e21561be8a3f9a29a438ea945b7be7b933fc159 (patch) | |
tree | 8e70c43d1f42de696be79b546042e67623be1c06 /wiretap/visual.c | |
parent | 4298a1f07da62f4791fcb5664fa5ba43b29944a3 (diff) | |
download | wireshark-6e21561be8a3f9a29a438ea945b7be7b933fc159.tar.gz |
From Joerg Mayer:
All files:
- Replace types from sys/types.h by those from glib.h
- Replace ntoh family of macros from netinet/in.h and winsock2.h
by g_ntoh family from glib.h
- Remove now unneeded includes of sys/types.h, netinet/in.h and
winsock2.h
wtap.h
Move includes to the top
svn path=/trunk/; revision=5909
Diffstat (limited to 'wiretap/visual.c')
-rw-r--r-- | wiretap/visual.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/wiretap/visual.c b/wiretap/visual.c index b1d4efbf03..bda0548630 100644 --- a/wiretap/visual.c +++ b/wiretap/visual.c @@ -2,7 +2,7 @@ * File read and write routines for Visual Networks cap files. * Copyright (c) 2001, Tom Nisbet tnisbet@visualnetworks.com * - * $Id: visual.c,v 1.9 2002/07/16 07:15:09 guy Exp $ + * $Id: visual.c,v 1.10 2002/07/29 06:09:59 guy Exp $ * * Wiretap Library * Copyright (c) 1998 by Gilbert Ramirez <gram@alumni.rice.edu> @@ -115,10 +115,10 @@ struct visual_write_info static gboolean visual_read(wtap *wth, int *err, long *data_offset); static void visual_close(wtap *wth); static gboolean visual_seek_read(wtap *wth, long seek_off, - union wtap_pseudo_header *pseudo_header, u_char *pd, int packet_size, + union wtap_pseudo_header *pseudo_header, guchar *pd, int packet_size, int *err); static gboolean visual_dump(wtap_dumper *wdh, const struct wtap_pkthdr *phdr, - const union wtap_pseudo_header *pseudo_header, const u_char *pd, int *err); + const union wtap_pseudo_header *pseudo_header, const guchar *pd, int *err); static gboolean visual_dump_close(wtap_dumper *wdh, int *err); static void visual_dump_free(wtap_dumper *wdh); @@ -451,7 +451,7 @@ gboolean visual_dump_open(wtap_dumper *wdh, gboolean cant_seek, int *err) /* Write a packet to a Visual dump file. Returns TRUE on success, FALSE on failure. */ static gboolean visual_dump(wtap_dumper *wdh, const struct wtap_pkthdr *phdr, - const union wtap_pseudo_header *pseudo_header, const u_char *pd, int *err) + const union wtap_pseudo_header *pseudo_header, const guchar *pd, int *err) { struct visual_write_info * visual = wdh->dump.opaque; struct visual_pkt_hdr vpkt_hdr; |