Rename bro_version and BRO_PLUGIN_BRO_VERSION to zeek names

This commit is contained in:
Tim Wojtulewicz 2022-06-29 15:30:21 -07:00
parent 25c63ed7ab
commit a9328b5c44
3 changed files with 79 additions and 7 deletions

View file

@ -246,11 +246,11 @@
#endif
/* A C function that has the Zeek version encoded into its name. */
#define BRO_VERSION_FUNCTION bro_version_@VERSION_C_IDENT@
#define ZEEK_VERSION_FUNCTION zeek_version_@VERSION_C_IDENT@
#ifdef __cplusplus
extern "C" {
#endif
extern const char* BRO_VERSION_FUNCTION();
extern const char* ZEEK_VERSION_FUNCTION();
#ifdef __cplusplus
}
#endif