~ubuntu-branches/ubuntu/precise/net-snmp/precise

« back to all changes in this revision

Viewing changes to man/netsnmp_netsnmp_mib_handler_s.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 "netsnmp_mib_handler_s" 3 "5 Sep 2008" "Version 5.4.2" "net-snmp" \" -*- nroff -*-
 
1
.TH "netsnmp_mib_handler_s" 3 "23 May 2010" "Version 5.4.3.pre1" "net-snmp" \" -*- nroff -*-
2
2
.ad l
3
3
.nh
4
4
.SH NAME
5
 
netsnmp_mib_handler_s \- the mib handler structure to be registered  
 
5
netsnmp_mib_handler_s \- 
 
6
.PP
 
7
the mib handler structure to be registered  
6
8
 
7
 
.PP
8
9
.SH SYNOPSIS
9
10
.br
10
11
.PP
 
12
.PP
11
13
\fC#include <agent_handler.h>\fP
12
 
.PP
13
14
.SS "Data Fields"
14
15
 
15
16
.in +1c
27
28
.ti -1c
28
29
.RI "int(* \fBaccess_method\fP )(struct \fBnetsnmp_mib_handler_s\fP *, struct \fBnetsnmp_handler_registration_s\fP *, struct \fBnetsnmp_agent_request_info_s\fP *, struct \fBnetsnmp_request_info_s\fP *)"
29
30
.br
30
 
.RI "\fI_clone_handler in \fBagent_handler.c\fP. \fP"
31
 
.ti -1c
32
 
.RI "\fBnetsnmp_mib_handler_s\fP * \fBnext\fP"
33
 
.br
34
 
.ti -1c
35
 
.RI "\fBnetsnmp_mib_handler_s\fP * \fBprev\fP"
 
31
.RI "\fIif you add more members, you probably also want to update \fP"
 
32
.ti -1c
 
33
.RI "void(* \fBdata_free\fP )(void *\fBmyvoid\fP)"
 
34
.br
 
35
.RI "\fIdata free hook for myvoid \fP"
 
36
.ti -1c
 
37
.RI "struct \fBnetsnmp_mib_handler_s\fP * \fBnext\fP"
 
38
.br
 
39
.ti -1c
 
40
.RI "struct \fBnetsnmp_mib_handler_s\fP * \fBprev\fP"
36
41
.br
37
42
.in -1c
38
43
.SH "Detailed Description"
47
52
Definition at line 48 of file agent_handler.h.
48
53
.SH "Field Documentation"
49
54
.PP 
 
55
.SS "int(* \fBnetsnmp_mib_handler_s::access_method\fP)(struct \fBnetsnmp_mib_handler_s\fP *, struct \fBnetsnmp_handler_registration_s\fP *, struct \fBnetsnmp_agent_request_info_s\fP *, struct \fBnetsnmp_request_info_s\fP *)"
 
56
.PP
 
57
if you add more members, you probably also want to update _clone_handler in \fBagent_handler.c\fP. 
 
58
.SS "void(* \fBnetsnmp_mib_handler_s::data_free\fP)(void *\fBmyvoid\fP)"
 
59
.PP
 
60
data free hook for myvoid 
 
61
.SS "int \fBnetsnmp_mib_handler_s::flags\fP"
 
62
.PP
 
63
for agent_handler's internal use 
 
64
.PP
 
65
Definition at line 53 of file agent_handler.h.
50
66
.SS "void* \fBnetsnmp_mib_handler_s::myvoid\fP"
51
67
.PP
52
68
for handler's internal use 
53
69
.PP
54
70
Definition at line 51 of file agent_handler.h.
55
 
.PP
56
 
Referenced by _netsnmp_tdata_helper_handler(), netsnmp_baby_steps_access_multiplexer_get(), netsnmp_baby_steps_handler_get(), netsnmp_cache_handler_get(), netsnmp_cache_helper_handler(), netsnmp_container_table_handler_get(), netsnmp_debug_helper(), netsnmp_find_handler_data_by_name(), netsnmp_get_cache_handler(), netsnmp_get_mode_end_call_handler(), netsnmp_get_multiplexer_handler(), netsnmp_get_row_merge_handler(), netsnmp_get_scalar_group_handler(), netsnmp_get_table_data_handler(), netsnmp_get_table_data_set_handler(), netsnmp_get_table_handler(), netsnmp_get_table_iterator_handler(), netsnmp_get_tdata_handler(), netsnmp_get_timed_bare_stash_cache_handler(), netsnmp_handler_dup(), 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_mode_end_call_helper(), netsnmp_multiplexer_helper_handler(), netsnmp_old_api_helper(), netsnmp_register_mib_table_row(), netsnmp_register_old_api(), netsnmp_register_watched_instance(), netsnmp_register_watched_scalar(), netsnmp_register_watched_spinlock(), netsnmp_row_merge_helper_handler(), netsnmp_scalar_group_helper_handler(), netsnmp_table_container_register(), netsnmp_table_data_helper_handler(), netsnmp_table_data_set_helper_handler(), netsnmp_table_iterator_helper_handler(), netsnmp_table_row_handler_get(), netsnmp_watched_spinlock_handler(), netsnmp_watched_timestamp_handler(), netsnmp_watched_timestamp_register(), netsnmp_watcher_helper_handler(), table_helper_handler(), and unregister_mibs_by_session().
57
 
.SS "int \fBnetsnmp_mib_handler_s::flags\fP"
58
 
.PP
59
 
for agent_handler's internal use 
60
 
.PP
61
 
Definition at line 53 of file agent_handler.h.
62
 
.PP
63
 
Referenced by netsnmp_baby_steps_access_multiplexer_get(), netsnmp_bulk_to_next_helper(), netsnmp_cache_handler_get(), netsnmp_cache_helper_handler(), netsnmp_container_table_handler_get(), netsnmp_get_bulk_to_next_handler(), netsnmp_get_read_only_handler(), netsnmp_get_stash_to_next_handler(), netsnmp_get_table_data_handler(), netsnmp_get_table_data_set_handler(), netsnmp_get_tdata_handler(), netsnmp_get_watched_spinlock_handler(), netsnmp_get_watched_timestamp_handler(), netsnmp_get_watcher_handler(), netsnmp_register_handler(), netsnmp_register_instance(), netsnmp_stash_to_next_helper(), netsnmp_table_row_handler_get(), netsnmp_watched_spinlock_handler(), netsnmp_watched_timestamp_handler(), and netsnmp_watcher_helper_handler().
64
 
.SS "int(* \fBnetsnmp_mib_handler_s::access_method\fP)(struct \fBnetsnmp_mib_handler_s\fP *, struct \fBnetsnmp_handler_registration_s\fP *, struct \fBnetsnmp_agent_request_info_s\fP *, struct \fBnetsnmp_request_info_s\fP *)"
65
 
.PP
66
 
_clone_handler in \fBagent_handler.c\fP. 
67
 
.PP
68
 
Referenced by netsnmp_call_handler(), netsnmp_create_handler(), netsnmp_find_table_array_handler(), netsnmp_instance_counter32_handler(), netsnmp_instance_int_handler(), netsnmp_instance_long_handler(), netsnmp_instance_num_file_handler(), netsnmp_instance_uint_handler(), and netsnmp_instance_ulong_handler().
69
71
 
70
72
.SH "Author"
71
73
.PP