net-snmp 5.7
kernel.h
Go to the documentation of this file.
00001 /***********************************************************************
00002    Net-SNMP - Simple Network Management Protocol agent library.
00003  ***********************************************************************/
00010 /* Copyrights:
00011  *     Copyright holders are listed in README file.
00012  *     Redistribution and use in source and binary forms, with or
00013  *     without modification, are permitted. License terms are specified
00014  *     in COPYING file distributed with the Net-SNMP package.
00015  */
00016 /***********************************************************************/
00017 
00018 #ifdef NETSNMP_CAN_USE_NLIST
00019 extern void     init_kmem(const char *);
00020 extern int      klookup(unsigned long, char *, int);
00021 extern void     free_kmem(void);
00022 #define NETSNMP_KLOOKUP(x,y,z) klookup((unsigned long) x,y,z)
00023 #else
00024 #define NETSNMP_KLOOKUP(x,y,z) (0)
00025 #endif
00026 
00027 #if HAVE_KVM_H
00028 #include <kvm.h>
00029 extern kvm_t   *kd;
00030 #endif
00031 /***********************************************************************/