aboutsummaryrefslogtreecommitdiff
path: root/pcap-int.h
diff options
context:
space:
mode:
authorguy <guy>2004-10-19 07:06:11 +0000
committerguy <guy>2004-10-19 07:06:11 +0000
commite5aebee6d80c8909048dc1ce865e9adb97d94fd7 (patch)
tree77b64a0b8528dc128ac9f7c319e58a2b3ca8b565 /pcap-int.h
parent4b1ac36c836ee326f778742bc28dd3b374702281 (diff)
Add a "pcap_close_common()" routine which can be used as the close
routine for some pcap-XXX.c files and can be called by the close routine in other pcap-XXX.c files.
Diffstat (limited to 'pcap-int.h')
-rw-r--r--pcap-int.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/pcap-int.h b/pcap-int.h
index 0a78e841..d481f028 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.64 2004-04-07 18:41:00 guy Exp $ (LBL)
+ * @(#) $Header: /tcpdump/master/libpcap/pcap-int.h,v 1.65 2004-10-19 07:06:12 guy Exp $ (LBL)
*/
#ifndef pcap_int_h
@@ -260,6 +260,8 @@ int pcap_getnonblock_fd(pcap_t *, char *);
int pcap_setnonblock_fd(pcap_t *p, int, char *);
#endif
+void pcap_close_common(pcap_t *);
+
/*
* Internal interfaces for "pcap_findalldevs()".
*