~ubuntu-branches/debian/lenny/net-snmp/lenny

« back to all changes in this revision

Viewing changes to man/netsnmp_table_array.3

  • Committer: Bazaar Package Importer
  • Author(s): Steve Kowalik
  • Date: 2007-05-10 22:20:23 UTC
  • Revision ID: james.westby@ubuntu.com-20070510222023-3fr07xb9i17xvq32
Tags: upstream-5.3.1
ImportĀ upstreamĀ versionĀ 5.3.1

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
.TH "table_array" 3 "14 Jul 2006" "Version 5.2.3" "net-snmp" \" -*- nroff -*-
 
1
.TH "table_array" 3 "13 Jul 2006" "Version 5.3.1" "net-snmp" \" -*- nroff -*-
2
2
.ad l
3
3
.nh
4
4
.SH NAME
13
13
.br
14
14
.RI "\fIregister specified callbacks for the specified table/oid. \fP"
15
15
.ti -1c
 
16
.RI "int \fBnetsnmp_table_array_register\fP (\fBnetsnmp_handler_registration\fP *reginfo, \fBnetsnmp_table_registration_info\fP *tabreg, \fBnetsnmp_table_array_callbacks\fP *cb, \fBnetsnmp_container\fP *container, int group_rows)"
 
17
.br
 
18
.ti -1c
16
19
.RI "\fBnetsnmp_mib_handler\fP * \fBnetsnmp_find_table_array_handler\fP (\fBnetsnmp_handler_registration\fP *reginfo)"
17
20
.br
18
21
.RI "\fIfind the handler for the table_array helper. \fP"
60
63
.PP
61
64
find the context data used by the table_array helper 
62
65
.PP
63
 
Definition at line 219 of file table_array.c.
 
66
Definition at line 229 of file table_array.c.
64
67
.PP
65
68
References netsnmp_request_get_list_data().
66
69
.SS "\fBnetsnmp_mib_handler\fP* netsnmp_find_table_array_handler (\fBnetsnmp_handler_registration\fP * reginfo)"
67
70
.PP
68
71
find the handler for the table_array helper. 
69
72
.PP
70
 
Definition at line 202 of file table_array.c.
 
73
Definition at line 212 of file table_array.c.
71
74
.PP
72
75
References netsnmp_mib_handler_s::access_method, netsnmp_handler_registration_s::handler, netsnmp_mib_handler_s::next, and NULL.
73
76
.SS "int netsnmp_table_array_check_row_status (\fBnetsnmp_table_array_callbacks\fP * cb, \fBnetsnmp_request_group\fP * ag, long * rs_new, long * rs_old)"
74
77
.PP
75
78
this function is called to validate RowStatus transitions. 
76
79
.PP
77
 
Definition at line 226 of file table_array.c.
 
80
Definition at line 236 of file table_array.c.
78
81
.PP
79
82
References netsnmp_table_array_callbacks_s::can_activate, netsnmp_table_array_callbacks_s::can_deactivate, netsnmp_table_array_callbacks_s::can_delete, netsnmp_request_group_s::existing_row, NULL, netsnmp_request_group_s::row_deleted, and netsnmp_request_group_s::undo_info.
80
83
.SS "int netsnmp_table_container_register (\fBnetsnmp_handler_registration\fP * reginfo, \fBnetsnmp_table_registration_info\fP * tabreg, \fBnetsnmp_table_array_callbacks\fP * cb, \fBnetsnmp_container\fP * container, int group_rows)"
83
86
.PP
84
87
If the group_rows parameter is set, the row related callbacks will be called once for each unique row index. Otherwise, each callback will be called only once, for all objects. 
85
88
.PP
86
 
Definition at line 153 of file table_array.c.
 
89
Definition at line 149 of file table_array.c.
87
90
.PP
88
91
References netsnmp_table_array_callbacks_s::can_set, table_container_data_s::cb, netsnmp_container_s::compare, netsnmp_table_array_callbacks_s::delete_row, netsnmp_table_array_callbacks_s::duplicate_row, netsnmp_handler_registration_s::handler, netsnmp_mib_handler_s::myvoid, netsnmp_container_s::ncompare, netsnmp_register_table(), NULL, netsnmp_table_array_callbacks_s::row_copy, snmp_log(), SNMP_MALLOC_TYPEDEF, table_container_data_s::table, and table_container_data_s::tblreg_info.
 
92
.PP
 
93
Referenced by netsnmp_table_array_register().