summaryrefslogtreecommitdiff
path: root/snmplib/snmp_version.c
blob: 7d34c0d3fb632f9dccff5bb2dc2d97e7bcda786b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#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;
}