File: pcap_version.h.in

package info (click to toggle)
libpcap 1.8.1-3
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 3,908 kB
  • ctags: 4,729
  • sloc: ansic: 38,459; sh: 3,197; makefile: 729; yacc: 656; lex: 484; asm: 372
file content (13 lines) | stat: -rw-r--r-- 773 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
/*
 * We make the version string static, and return a pointer to it, rather
 * than exporting the version string directly.  On at least some UNIXes,
 * if you import data from a shared library into an program, the data is
 * bound into the program binary, so if the string in the version of the
 * library with which the program was linked isn't the same as the
 * string in the version of the library with which the program is being
 * run, various undesirable things may happen (warnings, the string
 * being the one from the version of the library with which the program
 * was linked, or even weirder things, such as the string being the one
 * from the library but being truncated).
 */
static const char pcap_version_string[] = "libpcap version %%LIBPCAP_VERSION%%";