Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 661726
Collapse All | Expand All

(-)./Makefile.PL.tv (-1 / +1 lines)
Lines 106-112 REASON Link Here
106
# We also store the list of available functions in a file for skipping the 
106
# We also store the list of available functions in a file for skipping the 
107
# corresponding tests. 
107
# corresponding tests. 
108
my @funcs = have_functions(find_functions());
108
my @funcs = have_functions(find_functions());
109
$options{DEFINE} .= cpp_defines(@funcs);
109
$options{DEFINE} .= cpp_defines(@funcs). "-DHAVE_PCAP_SETSAMPLING";
110
open(FUNCS, '>funcs.txt') or warn "warning: can't write 'funcs.txt': $!\n";
110
open(FUNCS, '>funcs.txt') or warn "warning: can't write 'funcs.txt': $!\n";
111
print FUNCS join("\n", @funcs), "\n";
111
print FUNCS join("\n", @funcs), "\n";
112
close(FUNCS);
112
close(FUNCS);
(-)./stubs.inc.tv (-5 / +2 lines)
Lines 354-364 int pcap_parsesrcstr(const char *source, Link Here
354
#ifdef _MSC_VER
354
#ifdef _MSC_VER
355
#pragma message( "Warning: the function pcap_open() is not available" )
355
#pragma message( "Warning: the function pcap_open() is not available" )
356
#endif
356
#endif
357
struct pcap_rmtauth {
358
    int type;
359
    char *username;
360
    char *password;
361
};
362
357
363
pcap_t * pcap_open(const char *source, int snaplen, int flags, int read_timeout, struct pcap_rmtauth *auth, char *err);
358
pcap_t * pcap_open(const char *source, int snaplen, int flags, int read_timeout, struct pcap_rmtauth *auth, char *err);
364
pcap_t * pcap_open(const char *source, int snaplen, int flags, int read_timeout, struct pcap_rmtauth *auth, char *err) {
359
pcap_t * pcap_open(const char *source, int snaplen, int flags, int read_timeout, struct pcap_rmtauth *auth, char *err) {
Lines 511-516 HANDLE pcap_getevent(pcap_t *p) { Link Here
511
#ifdef _MSC_VER
511
#ifdef _MSC_VER
512
#pragma message( "Warning: the function pcap_setsampling() is not available" )
512
#pragma message( "Warning: the function pcap_setsampling() is not available" )
513
#endif
513
#endif
514
#if 0
514
struct pcap_samp {
515
struct pcap_samp {
515
    int method;
516
    int method;
516
    int value;
517
    int value;
Lines 522-527 struct pcap_samp *pcap_setsampling(pcap_ Link Here
522
    return NULL;
523
    return NULL;
523
}
524
}
524
#endif
525
#endif
526
#endif
525
527
526
528
527
/*
529
/*

Return to bug 661726