net-snmp 5.7
Data Fields
variable_list Struct Reference

The netsnmp variable list binding structure, it's typedef'd to netsnmp_variable_list. More...

#include <types.h>

Data Fields

struct variable_listnext_variable
 NULL for last variable.
oid * name
 Object identifier of variable.
size_t name_length
 number of subid's in name
u_char type
 ASN type of variable.
netsnmp_vardata val
 value of variable
size_t val_len
 the length of the value to be copied into buf
oid name_loc [MAX_OID_LEN]
 buffer to hold the OID
u_char buf [40]
 90 percentile < 40.
void * data
 (Opaque) hook for additional data
void(* dataFreeHook )(void *)
 callback to free above
int index

Detailed Description

The netsnmp variable list binding structure, it's typedef'd to netsnmp_variable_list.

Examples:

notification.c.

Definition at line 138 of file types.h.


Field Documentation

u_char variable_list::buf[40]

90 percentile < 40.

Definition at line 154 of file types.h.

(Opaque) hook for additional data

Definition at line 156 of file types.h.

void(* variable_list::dataFreeHook)(void *)

callback to free above

Definition at line 158 of file types.h.

Object identifier of variable.

Definition at line 142 of file types.h.

number of subid's in name

Definition at line 144 of file types.h.

oid variable_list::name_loc[MAX_OID_LEN]

buffer to hold the OID

Definition at line 152 of file types.h.

NULL for last variable.

Definition at line 140 of file types.h.

ASN type of variable.

Examples:
delayed_instance.c.

Definition at line 146 of file types.h.

value of variable

Examples:
delayed_instance.c.

Definition at line 148 of file types.h.

the length of the value to be copied into buf

Definition at line 150 of file types.h.


The documentation for this struct was generated from the following file: