net-snmp 5.7
snmp_version.c
00001 #include <net-snmp/net-snmp-config.h>
00002 #include <net-snmp/version.h>
00003 
00004 /* expose ONLY for benefit of grandfathered code */
00005 #ifndef UCD_COMPATIBLE
00006 static
00007 #endif
00008 const char     *NetSnmpVersionInfo = PACKAGE_VERSION;
00009 
00010 const char     *
00011 netsnmp_get_version(void)
00012 {
00013     return NetSnmpVersionInfo;
00014 }