15 lines
291 B
C
15 lines
291 B
C
|
#include <net-snmp/net-snmp-config.h>
|
||
|
#include <net-snmp/version.h>
|
||
|
|
||
|
/* expose ONLY for benefit of grandfathered code */
|
||
|
#ifndef UCD_COMPATIBLE
|
||
|
static
|
||
|
#endif
|
||
|
const char *NetSnmpVersionInfo = PACKAGE_VERSION;
|
||
|
|
||
|
const char *
|
||
|
netsnmp_get_version(void)
|
||
|
{
|
||
|
return NetSnmpVersionInfo;
|
||
|
}
|