Logo
Home page Net-SNMP

Archive Search:

Require all words?

Site Search:
Google
Main Page | Modules | Data Structures | File List | Data Fields | Related Pages | Examples

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

variable_list next_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 517 of file snmp_api.h.


Field Documentation

u_char variable_list::buf[40]
 

90 percentile < 40.

Definition at line 533 of file snmp_api.h.

Referenced by snmp_set_var_value().

void* variable_list::data
 

(Opaque) hook for additional data

Definition at line 535 of file snmp_api.h.

Referenced by netsnmp_mark_row_column_writable(), netsnmp_old_api_helper(), netsnmp_set_row_column(), netsnmp_table_data_delete_row(), and netsnmp_tdata_delete_row().

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

callback to free above

oid* variable_list::name
 

Object identifier of variable.

Definition at line 521 of file snmp_api.h.

Referenced by _data_lookup(), build_oid_segment(), check_getnext_results(), netsnmp_add_varbind_to_cache(), netsnmp_bulk_to_next_fix_requests(), netsnmp_check_getnext_reply(), netsnmp_old_api_helper(), netsnmp_register_auto_data_table(), netsnmp_row_merge_helper_handler(), netsnmp_table_build_oid(), netsnmp_table_build_oid_from_index(), netsnmp_table_build_result(), netsnmp_wrap_up_request(), snmp_set_var_value(), and table_helper_handler().

size_t variable_list::name_length
 

number of subid's in name

Definition at line 523 of file snmp_api.h.

Referenced by _data_lookup(), build_oid_segment(), check_getnext_results(), netsnmp_add_varbind_to_cache(), netsnmp_bulk_to_next_fix_requests(), netsnmp_check_getnext_reply(), netsnmp_old_api_helper(), netsnmp_row_merge_helper_handler(), netsnmp_table_build_oid(), netsnmp_table_build_oid_from_index(), netsnmp_wrap_up_request(), snmp_set_var_value(), and table_helper_handler().

oid variable_list::name_loc[MAX_OID_LEN]
 

90 percentile < 24.

Definition at line 531 of file snmp_api.h.

Referenced by build_oid_segment(), netsnmp_table_build_oid_from_index(), netsnmp_table_build_result(), and table_helper_handler().

struct variable_list* variable_list::next_variable
 

NULL for last variable.

Definition at line 519 of file snmp_api.h.

Referenced by handle_getnext_loop(), handle_pdu(), netsnmp_bulk_to_next_fix_requests(), netsnmp_wrap_up_request(), snmp_set_var_value(), and table_helper_handler().

u_char variable_list::type
 

ASN type of variable.

Examples:
delayed_instance.c.

Definition at line 525 of file snmp_api.h.

Referenced by _data_lookup(), _request_set_error(), build_oid_segment(), check_getnext_results(), handle_pdu(), netsnmp_add_varbind_to_cache(), netsnmp_bulk_to_next_fix_requests(), netsnmp_check_getnext_reply(), netsnmp_instance_num_file_handler(), netsnmp_old_api_helper(), netsnmp_set_row_column(), netsnmp_wrap_up_request(), snmp_set_var_typed_value(), snmp_set_var_value(), sprint_realloc_bitstring(), sprint_realloc_by_type(), sprint_realloc_counter(), sprint_realloc_counter64(), sprint_realloc_gauge(), sprint_realloc_integer(), sprint_realloc_ipaddress(), sprint_realloc_networkaddress(), sprint_realloc_null(), sprint_realloc_object_identifier(), sprint_realloc_octet_string(), sprint_realloc_opaque(), sprint_realloc_timeticks(), sprint_realloc_uinteger(), and table_helper_handler().

netsnmp_vardata variable_list::val
 

value of variable

Examples:
delayed_instance.c.

Definition at line 527 of file snmp_api.h.

Referenced by build_oid_segment(), netsnmp_check_getnext_reply(), netsnmp_instance_num_file_handler(), netsnmp_old_api_helper(), snmp_set_var_value(), sprint_realloc_bitstring(), sprint_realloc_counter(), sprint_realloc_counter64(), sprint_realloc_gauge(), sprint_realloc_integer(), sprint_realloc_ipaddress(), sprint_realloc_networkaddress(), sprint_realloc_object_identifier(), sprint_realloc_octet_string(), sprint_realloc_opaque(), sprint_realloc_timeticks(), and sprint_realloc_uinteger().

size_t variable_list::val_len
 

the length of the value to be copied into buf

Definition at line 529 of file snmp_api.h.

Referenced by build_oid_segment(), netsnmp_check_getnext_reply(), netsnmp_old_api_helper(), snmp_set_var_value(), sprint_realloc_bitstring(), sprint_realloc_networkaddress(), sprint_realloc_object_identifier(), sprint_realloc_octet_string(), and sprint_realloc_opaque().


The documentation for this struct was generated from the following file:
Generated on Fri Dec 30 13:47:52 2005 for net-snmp by  doxygen 1.3.9.1

Valid CSS!


Last modified: Thursday, 01-Mar-2007 16:20:13 PST
For questions regarding web content and site functionality, please write to the net-snmp-users mail list.