~ubuntu-branches/ubuntu/wily/net-snmp/wily-proposed

« back to all changes in this revision

Viewing changes to man/netsnmp_snmp_client.3

  • Committer: Bazaar Package Importer
  • Author(s): Chuck Short
  • Date: 2010-06-28 14:59:36 UTC
  • mfrom: (1.2.3 upstream) (1.1.12 sid)
  • Revision ID: james.westby@ubuntu.com-20100628145936-cbiallic69pn044g
Tags: 5.4.3~dfsg-1ubuntu1
* Merge from debian unstable.  Remaining changes:
  - Set Ubuntu maintainer address.
  - net-snmp-config: Use bash. (LP: #104738)
  - Removed multiuser option when calling update-rc.d. (LP: #254261)
  - debian/snmpd.init: LSBify the init script.
  - debian/patches/52_fix_snmpcmd_1_typo.patch: Adjust a typo in snmpcmd.1
    (LP: #250459)
  - debian/snmpd.postinst: source debconf before doing work, LP: #589056
  - debian/snmp.preinst, debian/snmp.prerm: kill any/all processes owned by
    snmp user before install/uninstall, LP: #573391
  - Add apport hook (LP: #533603):
  - debian/{snmp,snmpd}.apport: Added.
  - debian/control: Build-depends on dh-apport.
  - debian/rules: 
    + Add --with apport.
    + override_dh_apport to install hook on snmpd package only.
 * Dropped patches:
   - debian/patches/99-fix-ubuntu-div0.patch: Fix dvision by zero.. 

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
.TH "various PDU processing routines" 3 "5 Sep 2008" "Version 5.4.2" "net-snmp" \" -*- nroff -*-
 
1
.TH "various PDU processing routines" 3 "23 May 2010" "Version 5.4.3.pre1" "net-snmp" \" -*- nroff -*-
2
2
.ad l
3
3
.nh
4
4
.SH NAME
5
5
various PDU processing routines \- 
6
 
.SS "Defines"
7
 
 
8
 
.in +1c
9
 
.ti -1c
10
 
.RI "#define \fBBSD4_2\fP"
11
 
.br
12
 
.ti -1c
13
 
.RI "#define \fBNFDBITS\fP   (sizeof(\fBfd_mask\fP) * NBBY)"
14
 
.br
15
 
.ti -1c
16
 
.RI "#define \fBFD_SET\fP(n, p)   ((p)->fds_bits[(n)/NFDBITS] |= (1 << ((n) % NFDBITS)))"
17
 
.br
18
 
.ti -1c
19
 
.RI "#define \fBFD_CLR\fP(n, p)   ((p)->fds_bits[(n)/NFDBITS] &= ~(1 << ((n) % NFDBITS)))"
20
 
.br
21
 
.ti -1c
22
 
.RI "#define \fBFD_ISSET\fP(n, p)   ((p)->fds_bits[(n)/NFDBITS] & (1 << ((n) % NFDBITS)))"
23
 
.br
24
 
.ti -1c
25
 
.RI "#define \fBFD_ZERO\fP(p)   memset((p), 0, sizeof(*(p)))"
26
 
.br
27
 
.in -1c
28
 
.SS "Typedefs"
29
 
 
30
 
.in +1c
31
 
.ti -1c
32
 
.RI "typedef long \fBfd_mask\fP"
33
 
.br
34
 
.in -1c
35
6
.SS "Functions"
36
7
 
37
8
.in +1c
131
102
.PP 
132
103
.SS "int snmp_set_var_typed_value (\fBnetsnmp_variable_list\fP * newvar, u_char type, const u_char * val_str, size_t val_len)"
133
104
.PP
134
 
snmp_set_var_typed_value is used to set data into the netsnmp_variable_list structure. 
135
 
.PP
136
 
Used to return data to the snmp request via the netsnmp_request_info structure's requestvb pointer.
 
105
snmp_set_var_typed_value is used to set data into the netsnmp_variable_list structure. Used to return data to the snmp request via the netsnmp_request_info structure's requestvb pointer.
137
106
.PP
138
107
\fBParameters:\fP
139
108
.RS 4
157
126
.in +1c
158
127
\fBdelayed_instance.c\fP.
159
128
.PP
160
 
Definition at line 686 of file snmp_client.c.
161
 
.PP
162
 
References snmp_set_var_value(), and variable_list::type.
163
 
.PP
164
 
Referenced by _reorder_getbulk(), check_getnext_results(), handle_pdu(), netsnmp_check_getnext_reply(), netsnmp_create_subtree_cache(), netsnmp_instance_counter32_handler(), netsnmp_instance_int_handler(), netsnmp_instance_long_handler(), netsnmp_instance_num_file_handler(), netsnmp_instance_uint_handler(), netsnmp_instance_ulong_handler(), netsnmp_stash_cache_helper(), netsnmp_table_build_result(), netsnmp_table_data_build_result(), netsnmp_watched_timestamp_handler(), netsnmp_watcher_helper_handler(), snmp_replace_var_types(), and snmp_reset_var_types().
 
129
Definition at line 687 of file snmp_client.c.
165
130
.SS "int snmp_set_var_value (\fBnetsnmp_variable_list\fP * vars, const u_char * value, size_t len)"
166
131
.PP
167
 
Definition at line 753 of file snmp_client.c.
168
 
.PP
169
 
References variable_list::buf, netsnmp_vardata::counter64, netsnmp_vardata::integer, NULL, netsnmp_vardata::objid, snmp_log(), snmp_set_detail(), netsnmp_vardata::string, variable_list::type, variable_list::val, and variable_list::val_len.
170
 
.PP
171
 
Referenced by parse_one_oid_index(), snmp_set_var_typed_integer(), snmp_set_var_typed_value(), and snmp_varlist_add_variable().
 
132
FALL THROUGH 
 
133
.PP
 
134
Definition at line 754 of file snmp_client.c.
 
135
.SH "Author"
 
136
.PP 
 
137
Generated automatically by Doxygen for net-snmp from the source code.