diff options
author | Guy Harris <guy@alum.mit.edu> | 2001-12-04 07:32:05 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2001-12-04 07:32:05 +0000 |
commit | a1660d6d3afbaeccd77d8e34c695bf65a4f4f09e (patch) | |
tree | 20e71ed2ee0399b430f10ab92177fb1d5fc7e953 /wiretap/wtap.h | |
parent | 9426c4ad15826cee237cc1f822c8a758d01473f6 (diff) | |
download | wireshark-a1660d6d3afbaeccd77d8e34c695bf65a4f4f09e.tar.gz wireshark-a1660d6d3afbaeccd77d8e34c695bf65a4f4f09e.tar.bz2 wireshark-a1660d6d3afbaeccd77d8e34c695bf65a4f4f09e.zip |
Support for stopping capture at specified capture file size or capture
duration, from Thomas Wittwer and Matthias Nyffenegger.
svn path=/trunk/; revision=4322
Diffstat (limited to 'wiretap/wtap.h')
-rw-r--r-- | wiretap/wtap.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/wiretap/wtap.h b/wiretap/wtap.h index 6ea5c84f3d..8835636079 100644 --- a/wiretap/wtap.h +++ b/wiretap/wtap.h @@ -1,6 +1,6 @@ /* wtap.h * - * $Id: wtap.h,v 1.96 2001/11/30 07:14:22 guy Exp $ + * $Id: wtap.h,v 1.97 2001/12/04 07:32:05 guy Exp $ * * Wiretap Library * Copyright (c) 1998 by Gilbert Ramirez <gram@alumni.rice.edu> @@ -339,6 +339,7 @@ gboolean wtap_dump(wtap_dumper *, const struct wtap_pkthdr *, const union wtap_pseudo_header *pseudo_header, const u_char *, int *err); FILE* wtap_dump_file(wtap_dumper *); gboolean wtap_dump_close(wtap_dumper *, int *); +int wtap_get_bytes_dumped(wtap_dumper *); /* XXX - needed until "wiretap" can do live packet captures */ int wtap_pcap_encap_to_wtap_encap(int encap); |