~ubuntu-branches/ubuntu/gutsy/wireshark/gutsy-security

« back to all changes in this revision

Viewing changes to epan/dissectors/format-oid.h

  • Committer: Bazaar Package Importer
  • Author(s): Frederic Peters
  • Date: 2007-04-01 08:58:40 UTC
  • mfrom: (1.1.3 upstream)
  • Revision ID: james.westby@ubuntu.com-20070401085840-or3qhrpv8alt1bwg
Tags: 0.99.5-1
* New upstream release.
* debian/patches/09_idl2wrs.dpatch: updated to patch idl2wrs.sh.in.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/* format-oid.h
2
2
 * Declare routine for formatting OIDs
3
3
 *
4
 
 * $Id: format-oid.h 18196 2006-05-21 04:49:01Z sahlberg $
 
4
 * $Id: format-oid.h 20071 2006-12-08 15:05:41Z jmayer $
5
5
 *
6
6
 * Wireshark - Network traffic analyzer
7
7
 * By Gerald Combs <gerald@wireshark.org>
51
51
 * "config.h", to get the right #defines defined, so that we properly
52
52
 * typedef "subid_t".
53
53
 */
54
 
#if defined(HAVE_SOME_SNMP)
55
 
typedef gulong  subid_t;        /* Net-SNMP or UCD SNMP */
 
54
#if defined(HAVE_NET_SNMP)
 
55
typedef gulong  subid_t;        /* Net-SNMP */
56
56
#else
57
 
typedef guint   subid_t;        /* CMU SNMP, libsmi, or nothing */
 
57
typedef guint   subid_t;        /* CMU SNMP, UCD SNMP, libsmi, or nothing */
58
58
#endif
59
59
 
60
60
extern int oid_to_subid_buf(const guint8 *oid, gint oid_len, subid_t *buf, int buf_len);