mirror of
https://github.com/zeek/zeek.git
synced 2025-10-13 03:58:20 +00:00

This also installs symlinks from "zeek" and "bro-config" to a wrapper script that prints a deprecation warning. The btests pass, but this is still WIP. broctl renaming is still missing. #239
13 lines
373 B
C
13 lines
373 B
C
|
|
#include "zeek-config.h"
|
|
|
|
char version[] = "@VERSION@";
|
|
|
|
// A C function that has the current version built into its name.
|
|
// One can link a shared library against this to ensure that it won't
|
|
// load if the version of the main Bro binary differs compared to
|
|
// what the library was compiled against.
|
|
const char* BRO_VERSION_FUNCTION()
|
|
{
|
|
return "@VERSION_C_IDENT@";
|
|
}
|