From a8578d4f2fd5ea365f93846cf3da7f4151d7404d Mon Sep 17 00:00:00 2001 From: Guy Harris Date: Tue, 16 May 2017 12:18:33 -0700 Subject: Allow a platform to add information to the version string. For example, on Linux, we add information about memory-mapped capture support; see comments on GitHub issue #600. --- pcap-null.c | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'pcap-null.c') diff --git a/pcap-null.c b/pcap-null.c index de20f227..887e2180 100644 --- a/pcap-null.c +++ b/pcap-null.c @@ -50,3 +50,12 @@ pcap_platform_finddevs(pcap_if_list_t *devlistp, char *errbuf) */ return (0); } + +/* + * No platform-specific information. + */ +const char * +pcap_platform_lib_version(void) +{ + return (NULL); +} -- cgit v1.2.3