00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029
00030
00031
00032
00033
00034
00035
00036
00037
00038 #ifndef OPENSERSIPMETHODSUPPORTEDTABLE_H
00039 #define OPENSERSIPMETHODSUPPORTEDTABLE_H
00040
00041 #ifdef __cplusplus
00042 extern "C" {
00043 #endif
00044
00045
00046 #include <net-snmp/net-snmp-config.h>
00047 #include <net-snmp/library/container.h>
00048 #include <net-snmp/agent/table_array.h>
00049
00050 #include "../../config.h"
00051
00052
00053
00054
00055
00056 typedef struct openserSIPMethodSupportedTable_context_s {
00057
00058 netsnmp_index index;
00059
00061 unsigned long openserSIPMethodSupportedIndex;
00062
00064 unsigned char *openserSIPMethodName;
00065
00066 long openserSIPMethodName_len;
00067
00068 void * data;
00069
00070 } openserSIPMethodSupportedTable_context;
00071
00072
00073
00074
00075 void init_openserSIPMethodSupportedTable(void);
00076
00077
00078 void initialize_table_openserSIPMethodSupportedTable(void);
00079
00080
00081
00082
00083
00084
00085
00086 int openserSIPMethodSupportedTable_get_value(netsnmp_request_info *,
00087 netsnmp_index *, netsnmp_table_request_info *);
00088
00089 const openserSIPMethodSupportedTable_context *
00090 openserSIPMethodSupportedTable_get_by_idx(netsnmp_index *);
00091
00092 const openserSIPMethodSupportedTable_context *
00093 openserSIPMethodSupportedTable_get_by_idx_rs(netsnmp_index *,
00094 int row_status);
00095
00096
00097
00098
00099 extern oid openserSIPMethodSupportedTable_oid[];
00100 extern size_t openserSIPMethodSupportedTable_oid_len;
00101
00102 #define openserSIPMethodSupportedTable_TABLE_OID OPENSER_OID,3,1,1,1,1,7
00103
00104
00105
00106
00107 #define COLUMN_OPENSERSIPMETHODSUPPORTEDINDEX 1
00108 #define COLUMN_OPENSERSIPMETHODNAME 2
00109
00110 #define openserSIPMethodSupportedTable_COL_MIN 2
00111 #define openserSIPMethodSupportedTable_COL_MAX 2
00112
00113
00114 #ifdef __cplusplus
00115 }
00116 #endif
00117
00118 #endif