projects
/
bcm963xx.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
and added files
[bcm963xx.git]
/
userapps
/
opensource
/
net-snmp
/
agent
/
mibgroup
/
struct.h
1
#ifndef UCD_SNMP_STRUCT
2
#define UCD_SNMP_STRUCT
3
4
#define STRMAX 1024
5
#define SHPROC 1
6
#define EXECPROC 2
7
#define PASSTHRU 3
8
#define PASSTHRU_PERSIST 4
9
#define MIBMAX 30
10
11
struct extensible {
12
char name[STRMAX];
13
char command[STRMAX];
14
char fixcmd[STRMAX];
15
int type;
16
int result;
17
char output[STRMAX];
18
struct extensible *next;
19
unsigned long miboid[MIBMAX];
20
size_t miblen;
21
int pid;
22
};
23
24
struct myproc {
25
char name[STRMAX];
26
char fixcmd[STRMAX];
27
int min;
28
int max;
29
struct myproc *next;
30
};
31
32
/*
33
* struct mibinfo
34
* {
35
* int numid;
36
* unsigned long mibid[10];
37
* char *name;
38
* void (*handle) ();
39
* };
40
*/
41
42
#endif