libnl/include
Коренберг Марк (дома) 582a32433c Run-time version information is now available
Run-time version information is available as exported four integers:
- const int      nl_ver_num = LIBNL_VER_NUM;
- const int      nl_ver_maj = LIBNL_VER_MAJ;
- const int      nl_ver_min = LIBNL_VER_MIN;
- const int      nl_ver_mic = LIBNL_VER_MIC;

The purpose of this is to get version of compiled library as run time.
Use cases:
- To know exact version of the library in Python's ctypes module,
  Say, to find out if nl_cache_mngr_alloc() allow sk=NULL

- To make sure that the version of the loaded library corresponds to the
  version of headers (for the paranoid). Say, to check:

  if (LIBNL_VER_NUM != nl_ver_num)
      exit(1);
2012-08-30 03:19:04 +06:00
..
linux Support plug qdisc - queue traffic until explicit release 2012-02-14 12:02:04 +01:00
netlink Run-time version information is now available 2012-08-30 03:19:04 +06:00
Makefile.am Support plug qdisc - queue traffic until explicit release 2012-02-14 12:02:04 +01:00
netlink-generic.h Initial import 2007-09-15 01:28:01 +02:00
netlink-local.h Don't redefine offsetof when already defined by e.g. stddef.h 2011-06-21 11:33:44 +02:00
netlink-tc.h Unified TC API 2011-03-21 15:51:52 +01:00
netlink-types.h add fwmark mask support 2012-05-29 11:40:13 +02:00