aboutsummaryrefslogtreecommitdiff
path: root/pcap.h
diff options
context:
space:
mode:
authorguy <guy>2003-04-10 06:08:06 +0000
committerguy <guy>2003-04-10 06:08:06 +0000
commite0967f7bbcf566ea3fe063ea7f5b168dce1f85bd (patch)
tree8194abf8208bf8d9ca014685fbc9ba9758148db2 /pcap.h
parent82b59d865f45d257b00a0f87a33161c3595677b3 (diff)
Add a prototype for "pcap_next_ex()", to squelch compiler complaints,
and to make it available to applications using it.
Diffstat (limited to 'pcap.h')
-rw-r--r--pcap.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/pcap.h b/pcap.h
index 146f1c1f..7b0778d2 100644
--- a/pcap.h
+++ b/pcap.h
@@ -31,7 +31,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * @(#) $Header: /tcpdump/master/libpcap/pcap.h,v 1.43 2003-02-11 07:40:09 guy Exp $ (LBL)
+ * @(#) $Header: /tcpdump/master/libpcap/pcap.h,v 1.44 2003-04-10 06:08:06 guy Exp $ (LBL)
*/
#ifndef lib_pcap_h
@@ -177,6 +177,7 @@ int pcap_loop(pcap_t *, int, pcap_handler, u_char *);
int pcap_dispatch(pcap_t *, int, pcap_handler, u_char *);
const u_char*
pcap_next(pcap_t *, struct pcap_pkthdr *);
+int pcap_next_ex(pcap_t *, struct pcap_pkthdr **, const u_char **);
int pcap_stats(pcap_t *, struct pcap_stat *);
int pcap_setfilter(pcap_t *, struct bpf_program *);
int pcap_getnonblock(pcap_t *, char *);