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

« back to all changes in this revision

Viewing changes to man/mib_api.3.def

  • 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:
124
124
lb lb lb
125
125
l  l  l.
126
126
tag + len + load the new module when:
127
 
NULL + 0 + always (the old module is a strict subset of the new)
 
127
NULL + 0 + always (the old module is a strict subset of
 
128
 + + the new)
128
129
name + 0 + for the given tag only
129
130
name + non-0 + for any identifier with this prefix
130
131
.TE
283
284
take an object identifier (without an accompanying variable instance)
284
285
and print out the textual representation.
285
286
.PP
286
 
.B print_description
 
287
.BI print_description ,
 
288
.BI fprint_description ,
 
289
.BI snprint_description ,
287
290
and
288
 
.B fprint_description
 
291
.B sprint_realloc_description
289
292
take an object identifier (as for
290
293
.B print_objid
291
 
above) and print out the associated DESCRIPTION clause. The 
 
294
above) and print out a version of the MIB definition for that object,
 
295
together with the full OID. The
292
296
.I width
293
 
argument gives the number of subidentifiers of an OID, e.g., .1.3.6
294
 
is composed of 3 subidentifiers.
 
297
argument controls how the OID is layed out.
295
298
.PP
296
 
Note that there are no corresponding routines
297
 
.B snprint_description
298
 
or
299
 
.BR sprint_realloc_description .
300
299
By default the parser does not save descriptions since they may be
301
300
huge.  In order to be able to print them, you must call
302
301
.BR snmp_set_save_descriptions(1) .
319
318
.TP 10
320
319
MIBS
321
320
A colon separated list of MIB modules to load.
322
 
Default: IP-MIB:IF-MIB:TCP-MIB:UDP-MIB:SNMPv2-MIB:RFC1213-MIB:UCD-SNMP-MIB.
 
321
Default: IP-MIB:IF-MIB:TCP-MIB:UDP-MIB:SNMPv2-MIB: RFC1213-MIB:UCD-SNMP-MIB.
323
322
.SH "SEE ALSO"
324
323
.BR snmp_api "(3)"