forked from osmocom/wireshark
Don't declare libpcap wrappers if we're not building with libpcap.
Few of these functions exist if we're not building with libpcap. Change-Id: Icead80bc1993a229341fb4fcba6f1e5901c610ee Reviewed-on: https://code.wireshark.org/review/13097 Reviewed-by: Guy Harris <guy@alum.mit.edu>
This commit is contained in:
parent
949b9ba755
commit
88b6c768b5
|
@ -47,7 +47,7 @@ GList *get_interface_list(int *err, char **err_str);
|
|||
GList *get_remote_interface_list(const char *hostname, const char *port,
|
||||
int auth_type, const char *username,
|
||||
const char *passwd, int *err, char **err_str);
|
||||
#endif
|
||||
#endif /* HAVE_PCAP_REMOTE */
|
||||
|
||||
const char *linktype_val_to_name(int dlt);
|
||||
int linktype_name_to_val(const char *linktype);
|
||||
|
@ -66,14 +66,14 @@ gboolean set_pcap_datalink(pcap_t *pcap_h, int datalink, char *name,
|
|||
gboolean have_high_resolution_timestamp(pcap_t *pcap_h);
|
||||
#endif /* HAVE_PCAP_SET_TSTAMP_PRECISION */
|
||||
|
||||
#endif /* HAVE_LIBPCAP */
|
||||
|
||||
extern if_capabilities_t *get_if_capabilities(interface_options *interface_opts,
|
||||
char **err_str);
|
||||
extern pcap_t *open_capture_device(capture_options *capture_opts,
|
||||
interface_options *interface_opts, int timeout,
|
||||
char (*open_err_str)[PCAP_ERRBUF_SIZE]);
|
||||
|
||||
#endif /* HAVE_LIBPCAP */
|
||||
|
||||
extern void get_compiled_caplibs_version(GString *str);
|
||||
|
||||
/*
|
||||
|
|
Loading…
Reference in New Issue