37 #ifndef __LWIP_SNMP_STRUCTS_H__ 38 #define __LWIP_SNMP_STRUCTS_H__ 49 #include "private_mib.h" 57 #define MIB_OBJECT_NONE 0 58 #define MIB_OBJECT_SCALAR 1 59 #define MIB_OBJECT_TAB 2 62 #define MIB_ACCESS_READ 1 63 #define MIB_ACCESS_WRITE 2 66 #define MIB_OBJECT_READ_ONLY MIB_ACCESS_READ 67 #define MIB_OBJECT_READ_WRITE (MIB_ACCESS_READ | MIB_ACCESS_WRITE) 68 #define MIB_OBJECT_WRITE_ONLY MIB_ACCESS_WRITE 69 #define MIB_OBJECT_NOT_ACCESSIBLE 0 95 #define MIB_NODE_SC 0x01 97 #define MIB_NODE_AR 0x02 99 #define MIB_NODE_RA 0x03 101 #define MIB_NODE_LR 0x04 103 #define MIB_NODE_EX 0x05 124 typedef struct mib_node mib_scalar_node;
128 struct mib_array_node
141 struct mib_node*
const *nptr;
146 struct mib_ram_array_node
159 struct mib_node **nptr;
164 struct mib_list_node *prev;
165 struct mib_list_node *
next;
167 struct mib_node *nptr;
172 struct mib_list_rootnode
184 struct mib_list_node *
head;
185 struct mib_list_node *
tail;
192 struct mib_external_node
218 void (*get_value_q)(
u8_t rid,
struct obj_def *od);
219 void (*set_test_q)(
u8_t rid,
struct obj_def *od);
229 void (*get_value_pc)(
u8_t rid,
struct obj_def *od);
230 void (*set_test_pc)(
u8_t rid,
struct obj_def *od);
231 void (*set_value_pc)(
u8_t rid,
struct obj_def *od);
235 extern const struct mib_array_node internet;
239 void noleafs_get_value(
struct obj_def *od,
u16_t len,
void *
value);
241 void noleafs_set_value(
struct obj_def *od,
u16_t len,
void *
value);
248 struct mib_list_node* snmp_mib_ln_alloc(
s32_t id);
249 void snmp_mib_ln_free(
struct mib_list_node *ln);
250 struct mib_list_rootnode* snmp_mib_lrn_alloc(
void);
251 void snmp_mib_lrn_free(
struct mib_list_rootnode *lrn);
253 s8_t snmp_mib_node_insert(
struct mib_list_rootnode *rn,
s32_t objid,
struct mib_list_node **insn);
254 s8_t snmp_mib_node_find(
struct mib_list_rootnode *rn,
s32_t objid,
struct mib_list_node **
fn);
255 struct mib_list_rootnode *snmp_mib_node_delete(
struct mib_list_rootnode *rn,
struct mib_list_node *
n);
struct png_info_def **typedef void(__cdecl typeof(png_destroy_read_struct))(struct png_struct_def **
struct outqueuenode * tail
struct outqueuenode * head
static GLenum _GLUfuncptr fn
GLuint GLuint GLsizei count
typedefPACK_STRUCT_END struct ip_addr ip_addr_t
_In_ ULONG _In_ ULONG_PTR ident
static HRESULT set_value(struct d3dx_parameter *param, const void *data, unsigned int bytes, void *dst_data)
GLsizei const GLfloat * value
static INT ident_len(LPCTSTR p)
static unsigned __int64 next
HRESULT get_value(const struct table *table, UINT row, UINT column, LONGLONG *val)
GLuint GLint GLboolean GLint GLenum access
static HINSTANCE instance