~ubuntu-branches/ubuntu/trusty/net-snmp/trusty

« back to all changes in this revision

Viewing changes to include/net-snmp/library/asn1.h

  • Committer: Bazaar Package Importer
  • Author(s): Steve Kowalik
  • Date: 2007-12-08 14:59:50 UTC
  • mfrom: (1.1.6 upstream)
  • Revision ID: james.westby@ubuntu.com-20071208145950-u1tykhpw56nyzqik
Tags: 5.4.1~dfsg-4ubuntu1
* Merge from debian unstable.
* Remaining Ubuntu changes:
  - Remove stop links from rc0 and rc6
  - Munge Maintainer field as per spec.
* Ubuntu changes dropped:
  - Symlink common files between the packages, CDBS ought to handle that
    for us automatically.
* The latest Debian changes has dropped history from the changelog. Slot in
  the Ubuntu changes as best I can. 

Show diffs side-by-side

added added

removed removed

Lines of Context:
85
85
        u_long          low;
86
86
    };
87
87
 
88
 
#ifdef OPAQUE_SPECIAL_TYPES
 
88
#ifdef NETSNMP_WITH_OPAQUE_SPECIAL_TYPES
89
89
    typedef struct counter64 integer64;
90
90
    typedef struct counter64 unsigned64;
91
91
 
173
173
     */
174
174
#define ASN_OPAQUE_U64_MX_BER_LEN 12
175
175
 
176
 
#endif                          /* OPAQUE_SPECIAL_TYPES */
 
176
#endif                          /* NETSNMP_WITH_OPAQUE_SPECIAL_TYPES */
177
177
 
178
178
 
179
179
#define ASN_PRIV_INCL_RANGE (ASN_PRIVATE | 2)
181
181
#define ASN_PRIV_DELEGATED  (ASN_PRIVATE | 5)
182
182
#define ASN_PRIV_IMPLIED_OCTET_STR  (ASN_PRIVATE | ASN_OCTET_STR)       /* 4 */
183
183
#define ASN_PRIV_IMPLIED_OBJECT_ID  (ASN_PRIVATE | ASN_OBJECT_ID)       /* 6 */
184
 
#define ASN_PRIV_RETRY      (ASN_PRIVATE | 7)
 
184
#define ASN_PRIV_RETRY      (ASN_PRIVATE | 7)   /* 199 */
185
185
#define IS_DELEGATED(x)   ((x) == ASN_PRIV_DELEGATED)
186
186
 
187
187
 
232
232
    u_char         *asn_parse_double(u_char *, size_t *, u_char *,
233
233
                                     double *, size_t);
234
234
 
235
 
#ifdef USE_REVERSE_ASNENCODING
 
235
#ifdef NETSNMP_USE_REVERSE_ASNENCODING
236
236
 
237
237
    /*
238
238
     * Re-allocator function for below.