.TH "variable_list" 3 "13 Jul 2006" "Version 5.3.1" "net-snmp" \" -*- nroff -*- .ad l .nh .SH NAME variable_list \- The netsnmp variable list binding structure, it's typedef'd to netsnmp_variable_list. .PP .SH SYNOPSIS .br .PP \fC#include \fP .PP .SS "Data Fields" .in +1c .ti -1c .RI "\fBvariable_list\fP * \fBnext_variable\fP" .br .RI "\fINULL for last variable. \fP" .ti -1c .RI "oid * \fBname\fP" .br .RI "\fIObject identifier of variable. \fP" .ti -1c .RI "size_t \fBname_length\fP" .br .RI "\fInumber of subid's in name \fP" .ti -1c .RI "u_char \fBtype\fP" .br .RI "\fIASN type of variable. \fP" .ti -1c .RI "\fBnetsnmp_vardata\fP \fBval\fP" .br .RI "\fIvalue of variable \fP" .ti -1c .RI "size_t \fBval_len\fP" .br .RI "\fIthe length of the value to be copied into buf \fP" .ti -1c .RI "oid \fBname_loc\fP [MAX_OID_LEN]" .br .RI "\fI90 percentile < 24. \fP" .ti -1c .RI "u_char \fBbuf\fP [40]" .br .RI "\fI90 percentile < 40. \fP" .ti -1c .RI "void * \fBdata\fP" .br .RI "\fI(Opaque) hook for additional data \fP" .ti -1c .RI "void(* \fBdataFreeHook\fP )(void *)" .br .RI "\fIcallback to free above \fP" .ti -1c .RI "int \fBindex\fP" .br .in -1c .SH "Detailed Description" .PP The netsnmp variable list binding structure, it's typedef'd to netsnmp_variable_list. .PP \fBExamples: \fP .in +1c .PP \fBnotification.c\fP. .PP Definition at line 517 of file snmp_api.h. .SH "Field Documentation" .PP .SS "u_char \fBvariable_list::buf\fP[40]" .PP 90 percentile < 40. .PP Definition at line 533 of file snmp_api.h. .PP Referenced by snmp_clone_var(), snmp_free_var(), snmp_pdu_parse(), snmp_reset_var_buffers(), and snmp_set_var_value(). .SS "void* \fBvariable_list::data\fP" .PP (Opaque) hook for additional data .PP Definition at line 535 of file snmp_api.h. .PP Referenced by snmp_clone_var(), snmp_free_var(), and snmp_pdu_parse(). .SS "void(* \fBvariable_list::dataFreeHook\fP)(void *)" .PP callback to free above .PP Referenced by snmp_clone_var(), snmp_free_var(), and snmp_pdu_parse(). .SS "oid* \fBvariable_list::name\fP" .PP Object identifier of variable. .PP Definition at line 521 of file snmp_api.h. .PP Referenced by _reorder_getbulk(), build_oid_segment(), check_acm(), convert_v2pdu_to_v1(), dump_idx_registry(), find_varbind_in_list(), netsnmp_add_varbind_to_cache(), netsnmp_agent_check_parse(), netsnmp_bulk_to_next_fix_requests(), netsnmp_bulk_to_next_helper(), netsnmp_check_getnext_reply(), netsnmp_instance_helper_handler(), netsnmp_old_api_helper(), netsnmp_query_walk(), netsnmp_row_merge_helper_handler(), netsnmp_scalar_group_helper_handler(), netsnmp_scalar_helper_handler(), netsnmp_send_traps(), netsnmp_stash_cache_helper(), netsnmp_stash_to_next_helper(), netsnmp_table_build_oid(), netsnmp_table_build_oid_from_index(), netsnmp_table_build_result(), netsnmp_table_data_set_helper_handler(), netsnmp_watched_spinlock_handler(), netsnmp_watched_timestamp_handler(), netsnmp_watcher_helper_handler(), netsnmp_wrap_up_request(), snmp_clone_var(), snmp_free_var(), snmp_pdu_build(), snmp_pdu_parse(), snmp_reset_var_buffers(), snmp_set_var_objid(), and snmpv3_get_report_type(). .SS "size_t \fBvariable_list::name_length\fP" .PP number of subid's in name .PP Definition at line 523 of file snmp_api.h. .PP Referenced by _reorder_getbulk(), build_oid_segment(), check_acm(), convert_v2pdu_to_v1(), dump_idx_registry(), find_varbind_in_list(), netsnmp_add_varbind_to_cache(), netsnmp_agent_check_parse(), netsnmp_bulk_to_next_fix_requests(), netsnmp_bulk_to_next_helper(), netsnmp_check_getnext_reply(), netsnmp_create_subtree_cache(), netsnmp_instance_helper_handler(), netsnmp_old_api_helper(), netsnmp_query_walk(), netsnmp_row_merge_helper_handler(), netsnmp_scalar_group_helper_handler(), netsnmp_scalar_helper_handler(), netsnmp_send_traps(), netsnmp_stash_cache_helper(), netsnmp_stash_to_next_helper(), netsnmp_table_build_oid(), netsnmp_table_build_oid_from_index(), netsnmp_table_data_set_helper_handler(), netsnmp_watched_spinlock_handler(), netsnmp_watched_timestamp_handler(), netsnmp_watcher_helper_handler(), netsnmp_wrap_up_request(), snmp_clone_var(), snmp_pdu_build(), snmp_pdu_parse(), snmp_reset_var_buffers(), snmp_set_var_objid(), and snmpv3_get_report_type(). .SS "oid \fBvariable_list::name_loc\fP[MAX_OID_LEN]" .PP 90 percentile < 24. .PP Definition at line 531 of file snmp_api.h. .PP Referenced by build_oid_segment(), netsnmp_table_build_oid_from_index(), netsnmp_table_build_result(), snmp_free_var(), snmp_reset_var_buffers(), and snmp_set_var_objid(). .SS "struct \fBvariable_list\fP* \fBvariable_list::next_variable\fP" .PP NULL for last variable. .PP Definition at line 519 of file snmp_api.h. .PP Referenced by build_oid_noalloc(), check_acm(), convert_v1pdu_to_v2(), convert_v2pdu_to_v1(), count_varbinds(), count_varbinds_of_type(), find_varbind_in_list(), find_varbind_of_type(), handle_getnext_loop(), handle_pdu(), netsnmp_agent_check_parse(), netsnmp_bulk_to_next_fix_requests(), netsnmp_config_parse_add_row(), netsnmp_create_subtree_cache(), netsnmp_handle_request(), netsnmp_query_walk(), netsnmp_send_traps(), netsnmp_wrap_up_request(), parse_oid_indexes(), snmp_clone_var(), snmp_free_varbind(), snmp_pdu_build(), snmp_pdu_parse(), snmp_replace_var_types(), snmp_reset_var_buffers(), snmp_varbind_len(), snmp_varlist_add_variable(), and table_helper_handler(). .SS "u_char \fBvariable_list::type\fP" .PP ASN type of variable. .PP \fBExamples: \fP .in +1c \fBdelayed_instance.c\fP. .PP Definition at line 525 of file snmp_api.h. .PP Referenced by _request_set_error(), build_oid_segment(), check_acm(), count_varbinds_of_type(), find_varbind_of_type(), handle_pdu(), netsnmp_add_varbind_to_cache(), netsnmp_bulk_to_next_fix_requests(), netsnmp_check_getnext_reply(), netsnmp_config_parse_add_row(), netsnmp_create_subtree_cache(), netsnmp_instance_helper_handler(), netsnmp_instance_int_handler(), netsnmp_instance_long_handler(), netsnmp_instance_num_file_handler(), netsnmp_instance_ulong_handler(), netsnmp_scalar_group_helper_handler(), netsnmp_stash_cache_helper(), netsnmp_stash_to_next_helper(), netsnmp_table_data_set_helper_handler(), netsnmp_watcher_helper_handler(), netsnmp_wrap_up_request(), parse_one_oid_index(), snmp_pdu_build(), snmp_pdu_parse(), snmp_replace_var_types(), snmp_set_var_typed_integer(), snmp_set_var_typed_value(), snmp_set_var_value(), snmp_varlist_add_variable(), 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_nsapaddress(), sprint_realloc_null(), sprint_realloc_object_identifier(), sprint_realloc_octet_string(), sprint_realloc_opaque(), sprint_realloc_timeticks(), sprint_realloc_uinteger(), sprint_realloc_value(), sprint_realloc_variable(), and table_helper_handler(). .SS "\fBnetsnmp_vardata\fP \fBvariable_list::val\fP" .PP value of variable .PP \fBExamples: \fP .in +1c \fBdelayed_instance.c\fP. .PP Definition at line 527 of file snmp_api.h. .PP Referenced by build_oid_segment(), convert_v2pdu_to_v1(), netsnmp_check_getnext_reply(), netsnmp_instance_int_handler(), netsnmp_instance_long_handler(), netsnmp_instance_num_file_handler(), netsnmp_instance_ulong_handler(), netsnmp_send_traps(), netsnmp_stash_cache_helper(), netsnmp_table_data_set_helper_handler(), netsnmp_watcher_helper_handler(), parse_one_oid_index(), snmp_clone_var(), snmp_free_var(), snmp_pdu_build(), snmp_pdu_parse(), snmp_reset_var_buffers(), 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_nsapaddress(), sprint_realloc_object_identifier(), sprint_realloc_octet_string(), sprint_realloc_opaque(), sprint_realloc_timeticks(), and sprint_realloc_uinteger(). .SS "size_t \fBvariable_list::val_len\fP" .PP the length of the value to be copied into buf .PP Definition at line 529 of file snmp_api.h. .PP Referenced by build_oid_segment(), convert_v2pdu_to_v1(), netsnmp_check_getnext_reply(), netsnmp_stash_cache_helper(), netsnmp_table_data_set_helper_handler(), netsnmp_watcher_helper_handler(), parse_one_oid_index(), snmp_clone_var(), snmp_pdu_build(), snmp_pdu_parse(), snmp_reset_var_buffers(), snmp_set_var_value(), sprint_realloc_bitstring(), sprint_realloc_networkaddress(), sprint_realloc_nsapaddress(), sprint_realloc_object_identifier(), sprint_realloc_octet_string(), and sprint_realloc_opaque(). .SH "Author" .PP Generated automatically by Doxygen for net-snmp from the source code.