aboutsummaryrefslogtreecommitdiff
path: root/pcap-int.h
diff options
context:
space:
mode:
Diffstat (limited to 'pcap-int.h')
-rw-r--r--pcap-int.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/pcap-int.h b/pcap-int.h
index 5d4e5dac..23363cdd 100644
--- a/pcap-int.h
+++ b/pcap-int.h
@@ -30,7 +30,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * @(#) $Header: /tcpdump/master/libpcap/pcap-int.h,v 1.47 2003-07-23 05:29:21 guy Exp $ (LBL)
+ * @(#) $Header: /tcpdump/master/libpcap/pcap-int.h,v 1.48 2003-07-25 03:25:46 guy Exp $ (LBL)
*/
#ifndef pcap_int_h
@@ -115,6 +115,10 @@ struct pcap {
*/
u_char *pkt;
+ /*
+ * Methods.
+ */
+ void (*close_op)(pcap_t *);
/*
* Placeholder for filter code if bpf not in kernel.
@@ -243,10 +247,6 @@ struct sockaddr *dup_sockaddr(struct sockaddr *, size_t);
int add_or_find_if(pcap_if_t **, pcap_if_t **, const char *, u_int,
const char *, char *);
-#ifdef linux
-void pcap_close_linux(pcap_t *);
-#endif
-
#ifdef WIN32
char *pcap_win32strerror(void);
#endif