|
1 /* |
|
2 * Copyright (c) 2011, Oracle and/or its affiliates. All rights reserved. |
|
3 * |
|
4 * U.S. Government Rights - Commercial software. Government users are subject |
|
5 * to the Sun Microsystems, Inc. standard license agreement and applicable |
|
6 * provisions of the FAR and its supplements. |
|
7 * |
|
8 * |
|
9 * This distribution may include materials developed by third parties. Sun, |
|
10 * Sun Microsystems, the Sun logo and Solaris are trademarks or registered |
|
11 * trademarks of Sun Microsystems, Inc. in the U.S. and other countries. |
|
12 */ |
|
13 |
|
14 /* |
|
15 * Note: this file originally auto-generated by mib2c using |
|
16 * : mib2c.iterate.conf,v 1.1.1.1 2003/03/26 18:12:29 pcarroll Exp $ |
|
17 */ |
|
18 #ifndef DEMO_MODULE_2_H |
|
19 #define DEMO_MODULE_2_H |
|
20 |
|
21 |
|
22 |
|
23 /* function declarations */ |
|
24 void init_demo_module_2(void); |
|
25 void initialize_table_me1FileTable(void); |
|
26 Netsnmp_Node_Handler me1FileTable_handler; |
|
27 |
|
28 Netsnmp_First_Data_Point me1FileTable_get_first_data_point; |
|
29 Netsnmp_Next_Data_Point me1FileTable_get_next_data_point; |
|
30 |
|
31 /* column number definitions for table me1FileTable */ |
|
32 #define COLUMN_ME1FILEINDEX 1 |
|
33 #define COLUMN_ME1FILENAME 2 |
|
34 #define COLUMN_ME1FILESIZE 3 |
|
35 #define COLUMN_ME1FILEPERM 4 |
|
36 |
|
37 typedef struct fileTable{ |
|
38 unsigned long findex; |
|
39 char fileName[255]; |
|
40 unsigned long fileSize; |
|
41 char filePerm[255]; |
|
42 struct fileTable* next; |
|
43 } fileEntry; |
|
44 |
|
45 #define ADDFILE 1 |
|
46 #define RMFILE 2 |
|
47 #define GETFILE 3 |
|
48 #define ME1FILE_SET_FILENAME "me1FileName" |
|
49 |
|
50 #endif /* DEMO_MODULE_2_H */ |