Blob Blame History Raw
#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;
}