diff options
Diffstat (limited to 'agent/mibgroup/ucd-snmp/proc.h')
-rw-r--r-- | agent/mibgroup/ucd-snmp/proc.h | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/agent/mibgroup/ucd-snmp/proc.h b/agent/mibgroup/ucd-snmp/proc.h new file mode 100644 index 0000000..ff97cec --- /dev/null +++ b/agent/mibgroup/ucd-snmp/proc.h @@ -0,0 +1,28 @@ +/* + * Process watching mib group + */ +#ifndef _MIBGROUP_PROC_H +#define _MIBGROUP_PROC_H + +config_require(util_funcs) + + void init_proc(void); + + extern FindVarMethod var_extensible_proc; + extern WriteMethod fixProcError; + int sh_count_procs(char *); + +/* + * config file parsing routines + */ + void proc_free_config(void); + void proc_parse_config(const char *, char *); + void procfix_parse_config(const char *, char *); + +#include "mibdefs.h" + +#define PROCMIN 3 +#define PROCMAX 4 +#define PROCCOUNT 5 + +#endif /* _MIBGROUP_PROC_H */ |