]> The Tcpdump Group git mirrors - libpcap/commitdiff
Add a prototype for "pcap_next_ex()", to squelch compiler complaints,
authorguy <guy>
Thu, 10 Apr 2003 06:08:06 +0000 (06:08 +0000)
committerguy <guy>
Thu, 10 Apr 2003 06:08:06 +0000 (06:08 +0000)
and to make it available to applications using it.

pcap.h

diff --git a/pcap.h b/pcap.h
index 146f1c1f931905fdbf1a98a9c89997cf6d5b06cc..7b0778d2ffe1589cbe19be4471f736fa4b1e2716 100644 (file)
--- 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 *);