version.h 1.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. /* $Id$
  2. *
  3. * version.h
  4. *
  5. * Copyright 2001-2003, Meiosys (www.meiosys.com). All rights reserved.
  6. *
  7. * See the COPYING file for the terms of usage and distribution.
  8. */
  9. #ifndef log4c_version_h
  10. #define log4c_version_h
  11. /**
  12. * @file version.h
  13. *
  14. * @brief log4c version information
  15. **/
  16. #include <log4c/defs.h>
  17. __LOG4C_BEGIN_DECLS
  18. /**
  19. * constant macro holding the major version of log4c
  20. **/
  21. #define LOG4C_MAJOR_VERSION 1
  22. /**
  23. * constant macro holding the minor version of log4c
  24. **/
  25. #define LOG4C_MINOR_VERSION 2
  26. /**
  27. * constant macro holding the micro version of log4c
  28. **/
  29. #define LOG4C_MICRO_VERSION 1
  30. /**
  31. * constant variable holding the major version of log4c
  32. **/
  33. extern const int log4c_major_version;
  34. /**
  35. * constant variable holding the minor version of log4c
  36. **/
  37. extern const int log4c_minor_version;
  38. /**
  39. * constant variable holding the micro version of log4c
  40. **/
  41. extern const int log4c_micro_version;
  42. /**
  43. * @return a string containing the full log4c version
  44. **/
  45. extern const char* log4c_version(void);
  46. __LOG4C_END_DECLS
  47. #endif