]>
Commit | Line | Data |
---|---|---|
e54607a3 MK |
1 | --- Net-Pcap-0.18/stubs.inc 2006-10-15 22:00:58.000000000 +0000 |
2 | +++ Net-Pcap-0.18/stubs.inc 2018-08-28 22:05:22.861450203 +0000 | |
3 | @@ -347,27 +347,6 @@ | |
4 | #endif | |
5 | ||
6 | ||
7 | -#ifndef HAVE_PCAP_OPEN | |
8 | -#ifdef __GNUC__ | |
9 | -#warning "the function pcap_open() is not available" | |
10 | -#endif | |
11 | -#ifdef _MSC_VER | |
12 | -#pragma message( "Warning: the function pcap_open() is not available" ) | |
13 | -#endif | |
14 | -struct pcap_rmtauth { | |
15 | - int type; | |
16 | - char *username; | |
17 | - char *password; | |
18 | -}; | |
19 | - | |
20 | -pcap_t * pcap_open(const char *source, int snaplen, int flags, int read_timeout, struct pcap_rmtauth *auth, char *err); | |
21 | -pcap_t * pcap_open(const char *source, int snaplen, int flags, int read_timeout, struct pcap_rmtauth *auth, char *err) { | |
22 | - FUNCTION_NOT_IMPLEMENTED_ERROR(pcap_open) | |
23 | - return NULL; | |
24 | -} | |
25 | -#endif | |
26 | - | |
27 | - | |
28 | #ifndef HAVE_PCAP_SETBUFF | |
29 | #ifdef __GNUC__ | |
30 | #warning "the function pcap_setbuff() is not available" | |
31 | @@ -508,26 +487,6 @@ | |
32 | } | |
33 | #endif | |
34 | ||
35 | - | |
36 | -#ifndef HAVE_PCAP_SETSAMPLING | |
37 | -#ifdef __GNUC__ | |
38 | -#warning "the function pcap_setsampling() is not available" | |
39 | -#endif | |
40 | -#ifdef _MSC_VER | |
41 | -#pragma message( "Warning: the function pcap_setsampling() is not available" ) | |
42 | -#endif | |
43 | -struct pcap_samp { | |
44 | - int method; | |
45 | - int value; | |
46 | -}; | |
47 | - | |
48 | -struct pcap_samp *pcap_setsampling(pcap_t *p); | |
49 | -struct pcap_samp *pcap_setsampling(pcap_t *p) { | |
50 | - FUNCTION_NOT_IMPLEMENTED_ERROR(pcap_setsampling) | |
51 | - return NULL; | |
52 | -} | |
53 | -#endif | |
54 | - | |
55 | ||
56 | /* | |
57 |