version.h.in 1022 B

1234567891011121314151617181920212223242526272829303132333435363738
  1. /*
  2. * netlink/version.h Versioning Information
  3. *
  4. * This library is free software; you can redistribute it and/or
  5. * modify it under the terms of the GNU Lesser General Public
  6. * License as published by the Free Software Foundation version 2.1
  7. * of the License.
  8. *
  9. * Copyright (c) 2008-2011 Thomas Graf <tgraf@suug.ch>
  10. */
  11. #ifndef NETLINK_VERSION_H_
  12. #define NETLINK_VERSION_H_
  13. /* Compile Time Versioning Information */
  14. #define LIBNL_STRING "@PACKAGE_STRING@"
  15. #define LIBNL_VERSION "@PACKAGE_VERSION@"
  16. #define LIBNL_VER_MAJ @MAJ_VERSION@
  17. #define LIBNL_VER_MIN @MIN_VERSION@
  18. #define LIBNL_VER_MIC @MIC_VERSION@
  19. #define LIBNL_VER(maj,min) ((maj) << 8 | (min))
  20. #define LIBNL_VER_NUM LIBNL_VER(LIBNL_VER_MAJ, LIBNL_VER_MIN)
  21. #define LIBNL_CURRENT @LT_CURRENT@
  22. #define LIBNL_REVISION @LT_REVISION@
  23. #define LIBNL_AGE @LT_AGE@
  24. /* Run-time version information */
  25. extern const int nl_ver_num;
  26. extern const int nl_ver_maj;
  27. extern const int nl_ver_min;
  28. extern const int nl_ver_mic;
  29. #endif