zeek/zeek-version.h.in
Christian Kreibich 1f04e5d545 Merge branch 'topic/christian/localversion'
* topic/christian/localversion:
  Parse and store localversion string
  Remove commented-out code
  Check ZEEK_VERSION_LOCAL for dashes
  Update version string btests for localversion
  Modify version parsing for localversion
  Update version used by spicyz
  Update build script
  Support for configurable localversion

(cherry picked from commit d09584e52e)
2024-05-14 16:09:58 -07:00

21 lines
583 B
C

// See the file "COPYING" in the main distribution directory for copyright.
#pragma once
/* Version number of package */
#define VERSION "@ZEEK_VERSION_FULL_LOCAL@"
// Zeek version number.
// This is the result of (major * 10000 + minor * 100 + patch)
// For example, 3.1.2 becomes 30102.
#define ZEEK_VERSION_NUMBER @ZEEK_VERSION_NUMBER@
/* A C function that has the Zeek version encoded into its name. */
#define ZEEK_VERSION_FUNCTION zeek_version_@VERSION_C_IDENT@
#ifdef __cplusplus
extern "C" {
#endif
extern const char* ZEEK_VERSION_FUNCTION();
#ifdef __cplusplus
}
#endif