net-snmp  5.4.1
Data Fields
variable_list Struct Reference

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

#include <snmp_api.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]
 90 percentile < 24.
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 518 of file snmp_api.h.


Field Documentation

u_char variable_list::buf[40]

90 percentile < 40.

Definition at line 534 of file snmp_api.h.

(Opaque) hook for additional data

Definition at line 536 of file snmp_api.h.

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

callback to free above

Definition at line 538 of file snmp_api.h.

Object identifier of variable.

Definition at line 522 of file snmp_api.h.

number of subid's in name

Definition at line 524 of file snmp_api.h.

oid variable_list::name_loc[MAX_OID_LEN]

90 percentile < 24.

Definition at line 532 of file snmp_api.h.

NULL for last variable.

Definition at line 520 of file snmp_api.h.

ASN type of variable.

Examples:
delayed_instance.c.

Definition at line 526 of file snmp_api.h.

value of variable

Examples:
delayed_instance.c.

Definition at line 528 of file snmp_api.h.

the length of the value to be copied into buf

Definition at line 530 of file snmp_api.h.


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