| 1 |
/* |
| 2 |
* Template MIB group interface - extensible.h |
| 3 |
* |
| 4 |
*/ |
| 5 |
#ifndef _MIBGROUP_EXTENSIBLE_H |
| 6 |
#define _MIBGROUP_EXTENSIBLE_H |
| 7 |
|
| 8 |
void init_extensible(void); |
| 9 |
|
| 10 |
config_require(ucd-snmp/pass); |
| 11 |
config_require(util_funcs/header_simple_table); |
| 12 |
config_require(util_funcs); |
| 13 |
config_require(utilities/execute); |
| 14 |
|
| 15 |
extern struct extensible *extens; |
| 16 |
extern struct extensible *relocs; |
| 17 |
extern int numextens, numrelocs; |
| 18 |
|
| 19 |
extern FindVarMethod var_extensible_shell; |
| 20 |
extern WriteMethod fixExecError; |
| 21 |
extern FindVarMethod var_extensible_relocatable; |
| 22 |
netsnmp_subtree *find_extensible(netsnmp_subtree *, oid *, size_t, int); |
| 23 |
|
| 24 |
/* |
| 25 |
* config file parsing routines |
| 26 |
*/ |
| 27 |
void extensible_free_config(void); |
| 28 |
void extensible_parse_config(const char *, char *); |
| 29 |
void execfix_parse_config(const char *, char *); |
| 30 |
int extensible_unregister(int, int, void *, void *); |
| 31 |
|
| 32 |
#include "mibdefs.h" |
| 33 |
|
| 34 |
#define SHELLCOMMAND 3 |
| 35 |
#define SHELLRESULT 6 |
| 36 |
#define SHELLOUTPUT 7 |
| 37 |
|
| 38 |
#endif /* _MIBGROUP_EXTENSIBLE_H */ |