~ubuntu-branches/ubuntu/trusty/net-snmp/trusty

« back to all changes in this revision

Viewing changes to agent/mibgroup/ucd-snmp/extensible.h

  • Committer: Bazaar Package Importer
  • Author(s): Martin Pitt
  • Date: 2004-09-13 12:06:21 UTC
  • Revision ID: james.westby@ubuntu.com-20040913120621-g952ntonlleihcvm
Tags: upstream-5.1.1
ImportĀ upstreamĀ versionĀ 5.1.1

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
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(util_funcs)
 
11
config_require(utilities/execute)
 
12
 
 
13
     struct extensible *get_exten_instance(struct extensible *, size_t);
 
14
     extern FindVarMethod var_extensible_shell;
 
15
     extern WriteMethod fixExecError;
 
16
     extern FindVarMethod var_extensible_relocatable;
 
17
     netsnmp_subtree *find_extensible(netsnmp_subtree *, oid *, size_t, int);
 
18
 
 
19
/*
 
20
 * config file parsing routines 
 
21
 */
 
22
     void            extensible_free_config(void);
 
23
     void            extensible_parse_config(const char *, char *);
 
24
     void            execfix_parse_config(const char *, char *);
 
25
     int             extensible_unregister(int, int, void *, void *);
 
26
 
 
27
#include "mibdefs.h"
 
28
 
 
29
#define SHELLCOMMAND 3
 
30
#define SHELLRESULT 6
 
31
#define SHELLOUTPUT 7
 
32
 
 
33
#endif                          /* _MIBGROUP_EXTENSIBLE_H */