diff options
author | 2004-06-24 18:29:38 +0000 | |
---|---|---|
committer | 2004-06-24 18:29:38 +0000 | |
commit | c6ae2b3f5e195a670364cd7b2aea1ef5cc70f5dc (patch) | |
tree | 9b0bf5b4a50868902f2c976b2dcc47bfde4d0124 | |
parent | Add genericstable to the list of databases we can create automatically. (diff) | |
download | wireguard-openbsd-c6ae2b3f5e195a670364cd7b2aea1ef5cc70f5dc.tar.xz wireguard-openbsd-c6ae2b3f5e195a670364cd7b2aea1ef5cc70f5dc.zip |
make safe for inclusion in C++ code; ok deraadt@
-rw-r--r-- | lib/libpcap/pcap.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/libpcap/pcap.h b/lib/libpcap/pcap.h index 953021817f5..889cb816543 100644 --- a/lib/libpcap/pcap.h +++ b/lib/libpcap/pcap.h @@ -1,4 +1,4 @@ -/* $OpenBSD: pcap.h,v 1.11 2002/01/17 23:29:12 ericj Exp $ */ +/* $OpenBSD: pcap.h,v 1.12 2004/06/24 18:29:38 naddy Exp $ */ /* * Copyright (c) 1993, 1994, 1995, 1996, 1997 @@ -32,7 +32,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * @(#) $Header: /home/cvs/src/lib/libpcap/pcap.h,v 1.11 2002/01/17 23:29:12 ericj Exp $ (LBL) + * @(#) $Header: /home/cvs/src/lib/libpcap/pcap.h,v 1.12 2004/06/24 18:29:38 naddy Exp $ (LBL) */ #ifndef lib_pcap_h @@ -101,6 +101,7 @@ struct pcap_stat { typedef void (*pcap_handler)(u_char *, const struct pcap_pkthdr *, const u_char *); +__BEGIN_DECLS char *pcap_lookupdev(char *); int pcap_lookupnet(char *, bpf_u_int32 *, bpf_u_int32 *, char *); pcap_t *pcap_open_live(char *, int, int, int, char *); @@ -138,4 +139,5 @@ void pcap_dump(u_char *, const struct pcap_pkthdr *, const u_char *); /* XXX this guy lives in the bpf tree */ u_int bpf_filter(struct bpf_insn *, u_char *, u_int, u_int); char *bpf_image(struct bpf_insn *, int); +__END_DECLS #endif |