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

« back to all changes in this revision

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

  • Committer: Bazaar Package Importer
  • Author(s): Martin Pitt
  • Date: 2004-09-13 12:06:21 UTC
  • Revision ID: james.westby@ubuntu.com-20040913120621-g952ntonlleihcvm
Tags: upstream-5.1.1
ImportĀ upstreamĀ versionĀ 5.1.1

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#ifndef MIB_H
 
2
#define MIB_H
 
3
 
 
4
#ifdef __cplusplus
 
5
extern          "C" {
 
6
#endif
 
7
    /*
 
8
     * mib.h - Definitions for the variables as defined in the MIB
 
9
     *
 
10
     * Update: 1998-07-17 <jhy@gsu.edu>
 
11
     * Added prototypes for print_oid_report* functions.
 
12
     */
 
13
/***********************************************************
 
14
        Copyright 1988, 1989 by Carnegie Mellon University
 
15
 
 
16
                      All Rights Reserved
 
17
 
 
18
Permission to use, copy, modify, and distribute this software and its 
 
19
documentation for any purpose and without fee is hereby granted, 
 
20
provided that the above copyright notice appear in all copies and that
 
21
both that copyright notice and this permission notice appear in 
 
22
supporting documentation, and that the name of CMU not be
 
23
used in advertising or publicity pertaining to distribution of the
 
24
software without specific, written prior permission.  
 
25
 
 
26
CMU DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING
 
27
ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL
 
28
CMU BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR
 
29
ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
 
30
WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
 
31
ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
 
32
SOFTWARE.
 
33
******************************************************************/
 
34
 
 
35
#include <stdio.h>              /* for FILE */
 
36
 
 
37
#define MIB 1, 3, 6, 1, 2, 1
 
38
 
 
39
#define MIB_IFTYPE_OTHER                    1
 
40
#define MIB_IFTYPE_REGULAR1822              2
 
41
#define MIB_IFTYPE_HDH1822                  3
 
42
#define MIB_IFTYPE_DDNX25                   4
 
43
#define MIB_IFTYPE_RFC877X25                5
 
44
#define MIB_IFTYPE_ETHERNETCSMACD           6
 
45
#define MIB_IFTYPE_ISO88023CSMACD           7
 
46
#define MIB_IFTYPE_ISO88024TOKENBUS         8
 
47
#define MIB_IFTYPE_ISO88025TOKENRING        9
 
48
#define MIB_IFTYPE_ISO88026MAN              10
 
49
#define MIB_IFTYPE_STARLAN                  11
 
50
#define MIB_IFTYPE_PROTEON10MBIT            12
 
51
#define MIB_IFTYPE_PROTEON80MBIT            13
 
52
#define MIB_IFTYPE_HYPERCHANNEL             14
 
53
#define MIB_IFTYPE_FDDI                     15
 
54
#define MIB_IFTYPE_LAPB                     16
 
55
#define MIB_IFTYPE_SDLC                     17
 
56
#define MIB_IFTYPE_T1CARRIER                18
 
57
#define MIB_IFTYPE_CEPT                     19
 
58
#define MIB_IFTYPE_BASICISDN                20
 
59
#define MIB_IFTYPE_PRIMARYISDN              21
 
60
#define MIB_IFTYPE_PROPPOINTTOPOINTSERIAL   22
 
61
 
 
62
#define MIB_IFSTATUS_UP         1
 
63
#define MIB_IFSTATUS_DOWN       2
 
64
#define MIB_IFSTATUS_TESTING    3
 
65
 
 
66
#define MIB_FORWARD_GATEWAY     1
 
67
#define MIB_FORWARD_HOST        2
 
68
 
 
69
#define MIB_IPROUTETYPE_OTHER   1
 
70
#define MIB_IPROUTETYPE_INVALID 2
 
71
#define MIB_IPROUTETYPE_DIRECT  3
 
72
#define MIB_IPROUTETYPE_REMOTE  4
 
73
 
 
74
#define MIB_IPROUTEPROTO_OTHER      1
 
75
#define MIB_IPROUTEPROTO_LOCAL      2
 
76
#define MIB_IPROUTEPROTO_NETMGMT    3
 
77
#define MIB_IPROUTEPROTO_ICMP       4
 
78
#define MIB_IPROUTEPROTO_EGP        5
 
79
#define MIB_IPROUTEPROTO_GGP        6
 
80
#define MIB_IPROUTEPROTO_HELLO      7
 
81
#define MIB_IPROUTEPROTO_RIP        8
 
82
#define MIB_IPROUTEPROTO_ISIS       9
 
83
#define MIB_IPROUTEPROTO_ESIS       10
 
84
#define MIB_IPROUTEPROTO_CISCOIGRP  11
 
85
#define MIB_IPROUTEPROTO_BBNSPFIGP  12
 
86
#define MIB_IPROUTEPROTO_OIGP       13
 
87
 
 
88
#define MIB_TCPRTOALG_OTHER     1
 
89
#define MIB_TCPRTOALG_CONSTANT  2
 
90
#define MIB_TCPRTOALG_RSRE      3
 
91
#define MIB_TCPRTOALG_VANJ      4
 
92
 
 
93
#define MIB_TCPCONNSTATE_CLOSED         1
 
94
#define MIB_TCPCONNSTATE_LISTEN         2
 
95
#define MIB_TCPCONNSTATE_SYNSENT        3
 
96
#define MIB_TCPCONNSTATE_SYNRECEIVED    4
 
97
#define MIB_TCPCONNSTATE_ESTABLISHED    5
 
98
#define MIB_TCPCONNSTATE_FINWAIT1       6
 
99
#define MIB_TCPCONNSTATE_FINWAIT2       7
 
100
#define MIB_TCPCONNSTATE_CLOSEWAIT      8
 
101
#define MIB_TCPCONNSTATE_LASTACK        9
 
102
#define MIB_TCPCONNSTATE_CLOSING        10
 
103
#define MIB_TCPCONNSTATE_TIMEWAIT       11
 
104
 
 
105
#define MIB_EGPNEIGHSTATE_IDLE          1
 
106
#define MIB_EGPNEIGHSTATE_AQUISITION    2
 
107
#define MIB_EGPNEIGHSTATE_DOWN          3
 
108
#define MIB_EGPNEIGHSTATE_UP            4
 
109
#define MIB_EGPNEIGHSTATE_CEASE         5
 
110
 
 
111
    struct variable_list;
 
112
    struct enum_list;
 
113
 
 
114
    void            print_mib(FILE * fp);
 
115
    void            print_ascii_dump(FILE *);
 
116
    int             read_objid(const char *, oid *, size_t *);
 
117
    void            register_mib_handlers(void);
 
118
    void            netsnmp_set_mib_directory(const char *dir);
 
119
    char            *netsnmp_get_mib_directory(void);
 
120
    void            netsnmp_fixup_mib_directory(void);
 
121
    void            init_mib(void);
 
122
    void            shutdown_mib(void);
 
123
    void            print_description(oid *, size_t, int);
 
124
    void            fprint_description(FILE *, oid *, size_t, int);
 
125
    int             snprint_description(char *, size_t, oid *, size_t, int);
 
126
    int             sprint_realloc_description(u_char **, size_t *, size_t *,
 
127
                                               int, oid *, size_t, int);
 
128
    int             get_module_node(const char *, const char *, oid *,
 
129
                                    size_t *);
 
130
    int             get_wild_node(const char *, oid *, size_t *);
 
131
    int             get_node(const char *, oid *, size_t *);
 
132
    oid            *snmp_parse_oid(const char *, oid *, size_t *);
 
133
    struct tree    *get_symbol(oid *, size_t, struct tree *, char *);
 
134
    struct tree    *get_tree(const oid *, size_t, struct tree *);
 
135
    struct tree    *get_tree_head(void);
 
136
    void            set_function(struct tree *);
 
137
 
 
138
    int             parse_one_oid_index(oid ** oidStart, size_t * oidLen,
 
139
                                        netsnmp_variable_list * data,
 
140
                                        int complete);
 
141
    int             parse_oid_indexes(oid * oidIndex, size_t oidLen,
 
142
                                      netsnmp_variable_list * data);
 
143
    int             build_oid_noalloc(oid * in, size_t in_len,
 
144
                                      size_t * out_len, oid * prefix,
 
145
                                      size_t prefix_len,
 
146
                                      netsnmp_variable_list * indexes);
 
147
    int             build_oid(oid ** out, size_t * out_len, oid * prefix,
 
148
                              size_t prefix_len,
 
149
                              netsnmp_variable_list * indexes);
 
150
    int             build_oid_segment(netsnmp_variable_list * var);
 
151
 
 
152
 
 
153
    void            print_variable(const oid * objid, size_t objidlen,
 
154
                                   const netsnmp_variable_list * variable);
 
155
 
 
156
    void            fprint_variable(FILE * fp,
 
157
                                    const oid * objid, size_t objidlen,
 
158
                                    const netsnmp_variable_list * variable);
 
159
 
 
160
    int             snprint_variable(char *buf, size_t buf_len,
 
161
                                     const oid * objid, size_t objidlen,
 
162
                                     const netsnmp_variable_list * variable);
 
163
 
 
164
    int             sprint_realloc_variable(u_char ** buf,
 
165
                                            size_t * buf_len,
 
166
                                            size_t * out_len,
 
167
                                            int allow_realloc,
 
168
                                            const oid * objid,
 
169
                                            size_t objidlen,
 
170
                                            const netsnmp_variable_list *
 
171
                                            variable);
 
172
 
 
173
#ifndef DISABLE_MIB_LOADING
 
174
    struct tree    *
 
175
#else
 
176
    void
 
177
#endif
 
178
                    netsnmp_sprint_realloc_objid_tree(u_char ** buf,
 
179
                                                      size_t * buf_len,
 
180
                                                      size_t * out_len,
 
181
                                                      int allow_realloc,
 
182
                                                      int *buf_overflow,
 
183
                                                      const oid * objid,
 
184
                                                      size_t objidlen);
 
185
 
 
186
    void
 
187
                    netsnmp_sprint_realloc_objid(u_char ** buf,
 
188
                                                 size_t * buf_len,
 
189
                                                 size_t * out_len,
 
190
                                                 int allow_realloc,
 
191
                                                 int *buf_overflow,
 
192
                                                 const oid * objid,
 
193
                                                 size_t objidlen);
 
194
 
 
195
    void            print_value(const oid * objid, size_t objidlen,
 
196
                                const netsnmp_variable_list * variable);
 
197
 
 
198
    void            fprint_value(FILE * fp,
 
199
                                 const oid * objid, size_t objidlen,
 
200
                                 const netsnmp_variable_list * variable);
 
201
 
 
202
    int             snprint_value(char *buf, size_t buf_len,
 
203
                                  const oid * objid, size_t objidlen,
 
204
                                  const netsnmp_variable_list * variable);
 
205
 
 
206
    int             sprint_realloc_value(u_char ** buf, size_t * buf_len,
 
207
                                         size_t * out_len,
 
208
                                         int allow_realloc,
 
209
                                         const oid * objid,
 
210
                                         size_t objidlen,
 
211
                                         const netsnmp_variable_list * variable);
 
212
 
 
213
 
 
214
    void            print_objid(const oid * objid, size_t objidlen);
 
215
 
 
216
    void            fprint_objid(FILE * fp,
 
217
                                 const oid * objid, size_t objidlen);
 
218
 
 
219
    int             snprint_objid(char *buf, size_t buf_len,
 
220
                                  const oid * objid, size_t objidlen);
 
221
 
 
222
    int             sprint_realloc_objid(u_char ** buf, size_t * buf_len,
 
223
                                         size_t * out_len,
 
224
                                         int allow_realloc,
 
225
                                         const oid * objid,
 
226
                                         size_t objidlen);
 
227
 
 
228
 
 
229
    int             sprint_realloc_by_type(u_char ** buf, size_t * buf_len,
 
230
                                           size_t * out_len,
 
231
                                           int allow_realloc,
 
232
                                           const netsnmp_variable_list * var,
 
233
                                           const struct enum_list *enums,
 
234
                                           const char *hint,
 
235
                                           const char *units);
 
236
 
 
237
    int             sprint_realloc_hexstring(u_char ** buf,
 
238
                                             size_t * buf_len,
 
239
                                             size_t * out_len,
 
240
                                             int allow_realloc,
 
241
                                             const u_char *, size_t);
 
242
 
 
243
    int             sprint_realloc_asciistring(u_char ** buf,
 
244
                                               size_t * buf_len,
 
245
                                               size_t * out_len,
 
246
                                               int allow_realloc,
 
247
                                               const u_char * cp,
 
248
                                               size_t len);
 
249
 
 
250
    int             sprint_realloc_octet_string(u_char ** buf,
 
251
                                                size_t * buf_len,
 
252
                                                size_t * out_len,
 
253
                                                int allow_realloc,
 
254
                                                const netsnmp_variable_list *,
 
255
                                                const struct enum_list *,
 
256
                                                const char *,
 
257
                                                const char *);
 
258
 
 
259
    int             sprint_realloc_opaque(u_char ** buf, size_t * buf_len,
 
260
                                          size_t * out_len,
 
261
                                          int allow_realloc,
 
262
                                          const netsnmp_variable_list *,
 
263
                                          const struct enum_list *, const char *,
 
264
                                          const char *);
 
265
 
 
266
    int             sprint_realloc_object_identifier(u_char ** buf,
 
267
                                                     size_t * buf_len,
 
268
                                                     size_t * out_len,
 
269
                                                     int allow_realloc,
 
270
                                                     const netsnmp_variable_list
 
271
                                                     *, const struct enum_list *,
 
272
                                                     const char *,
 
273
                                                     const char *);
 
274
 
 
275
    int             sprint_realloc_timeticks(u_char ** buf,
 
276
                                             size_t * buf_len,
 
277
                                             size_t * out_len,
 
278
                                             int allow_realloc,
 
279
                                             const netsnmp_variable_list *,
 
280
                                             const struct enum_list *,
 
281
                                             const char *, const char *);
 
282
 
 
283
    int             sprint_realloc_hinted_integer(u_char ** buf,
 
284
                                                  size_t * buf_len,
 
285
                                                  size_t * out_len,
 
286
                                                  int allow_realloc, long,
 
287
                                                  const char, const char *,
 
288
                                                  const char *);
 
289
 
 
290
    int             sprint_realloc_integer(u_char ** buf, size_t * buf_len,
 
291
                                           size_t * out_len,
 
292
                                           int allow_realloc,
 
293
                                           const netsnmp_variable_list *,
 
294
                                           const struct enum_list *,
 
295
                                           const char *, const char *);
 
296
 
 
297
    int             sprint_realloc_uinteger(u_char ** buf,
 
298
                                            size_t * buf_len,
 
299
                                            size_t * out_len,
 
300
                                            int allow_realloc,
 
301
                                            const netsnmp_variable_list *,
 
302
                                            const struct enum_list *,
 
303
                                            const char *, const char *);
 
304
 
 
305
    int             sprint_realloc_gauge(u_char ** buf, size_t * buf_len,
 
306
                                         size_t * out_len,
 
307
                                         int allow_realloc,
 
308
                                         const netsnmp_variable_list *,
 
309
                                         const struct enum_list *, const char *,
 
310
                                         const char *);
 
311
 
 
312
    int             sprint_realloc_counter(u_char ** buf, size_t * buf_len,
 
313
                                           size_t * out_len,
 
314
                                           int allow_realloc,
 
315
                                           const netsnmp_variable_list *,
 
316
                                           const struct enum_list *,
 
317
                                           const char *, const char *);
 
318
 
 
319
    int             sprint_realloc_networkaddress(u_char ** buf,
 
320
                                                  size_t * buf_len,
 
321
                                                  size_t * out_len,
 
322
                                                  int allow_realloc,
 
323
                                                  const netsnmp_variable_list *,
 
324
                                                  const struct enum_list *,
 
325
                                                  const char *,
 
326
                                                  const char *);
 
327
 
 
328
    int             sprint_realloc_ipaddress(u_char ** buf,
 
329
                                             size_t * buf_len,
 
330
                                             size_t * out_len,
 
331
                                             int allow_realloc,
 
332
                                             const netsnmp_variable_list *,
 
333
                                             const struct enum_list *,
 
334
                                             const char *, const char *);
 
335
 
 
336
    int             sprint_realloc_null(u_char ** buf, size_t * buf_len,
 
337
                                        size_t * out_len,
 
338
                                        int allow_realloc,
 
339
                                        const netsnmp_variable_list *,
 
340
                                        const struct enum_list *, const char *,
 
341
                                        const char *);
 
342
 
 
343
    int             sprint_realloc_bitstring(u_char ** buf,
 
344
                                             size_t * buf_len,
 
345
                                             size_t * out_len,
 
346
                                             int allow_realloc,
 
347
                                             const netsnmp_variable_list *,
 
348
                                             const struct enum_list *,
 
349
                                             const char *, const char *);
 
350
 
 
351
    int             sprint_realloc_nsapaddress(u_char ** buf,
 
352
                                               size_t * buf_len,
 
353
                                               size_t * out_len,
 
354
                                               int allow_realloc,
 
355
                                               const netsnmp_variable_list *,
 
356
                                               const struct enum_list *,
 
357
                                               const char *, const char *);
 
358
 
 
359
    int             sprint_realloc_counter64(u_char ** buf,
 
360
                                             size_t * buf_len,
 
361
                                             size_t * out_len,
 
362
                                             int allow_realloc,
 
363
                                             const netsnmp_variable_list *,
 
364
                                             const struct enum_list *,
 
365
                                             const char *, const char *);
 
366
 
 
367
    int             sprint_realloc_badtype(u_char ** buf, size_t * buf_len,
 
368
                                           size_t * out_len,
 
369
                                           int allow_realloc,
 
370
                                           const netsnmp_variable_list *,
 
371
                                           const struct enum_list *,
 
372
                                           const char *, const char *);
 
373
 
 
374
#ifdef OPAQUE_SPECIAL_TYPES
 
375
    int             sprint_realloc_float(u_char ** buf, size_t * buf_len,
 
376
                                         size_t * out_len,
 
377
                                         int allow_realloc,
 
378
                                         const netsnmp_variable_list *,
 
379
                                         const struct enum_list *, const char *,
 
380
                                         const char *);
 
381
 
 
382
    int             sprint_realloc_double(u_char ** buf, size_t * buf_len,
 
383
                                          size_t * out_len,
 
384
                                          int allow_realloc,
 
385
                                          const netsnmp_variable_list *,
 
386
                                          const struct enum_list *, const char *,
 
387
                                          const char *);
 
388
#endif
 
389
 
 
390
 
 
391
    int             snprint_by_type(char *buf, size_t buf_len,
 
392
                                    netsnmp_variable_list * var,
 
393
                                    const struct enum_list *enums,
 
394
                                    const char *hint, const char *units);
 
395
 
 
396
    int             snprint_hexstring(char *buf, size_t buf_len,
 
397
                                      const u_char *, size_t);
 
398
 
 
399
    int             snprint_asciistring(char *buf, size_t buf_len,
 
400
                                        const u_char * cp, size_t len);
 
401
 
 
402
    int             snprint_octet_string(char *buf, size_t buf_len,
 
403
                                         const netsnmp_variable_list *,
 
404
                                         const struct enum_list *, const char *,
 
405
                                         const char *);
 
406
 
 
407
    int             snprint_opaque(char *buf, size_t buf_len,
 
408
                                   const netsnmp_variable_list *,
 
409
                                   const struct enum_list *, const char *,
 
410
                                   const char *);
 
411
 
 
412
    int             snprint_object_identifier(char *buf, size_t buf_len,
 
413
                                              const netsnmp_variable_list *,
 
414
                                              const struct enum_list *,
 
415
                                              const char *, const char *);
 
416
 
 
417
    int             snprint_timeticks(char *buf, size_t buf_len,
 
418
                                      const netsnmp_variable_list *,
 
419
                                      const struct enum_list *, const char *,
 
420
                                      const char *);
 
421
 
 
422
    int             snprint_hinted_integer(char *buf, size_t buf_len,
 
423
                                           long, const char *,
 
424
                                           const char *);
 
425
 
 
426
    int             snprint_integer(char *buf, size_t buf_len,
 
427
                                    const netsnmp_variable_list *,
 
428
                                    const struct enum_list *, const char *,
 
429
                                    const char *);
 
430
 
 
431
    int             snprint_uinteger(char *buf, size_t buf_len,
 
432
                                     const netsnmp_variable_list *,
 
433
                                     const struct enum_list *, const char *,
 
434
                                     const char *);
 
435
 
 
436
    int             snprint_gauge(char *buf, size_t buf_len,
 
437
                                  const netsnmp_variable_list *,
 
438
                                  const struct enum_list *, const char *,
 
439
                                  const char *);
 
440
 
 
441
    int             snprint_counter(char *buf, size_t buf_len,
 
442
                                    const netsnmp_variable_list *,
 
443
                                    const struct enum_list *, const char *,
 
444
                                    const char *);
 
445
 
 
446
    int             snprint_networkaddress(char *buf, size_t buf_len,
 
447
                                           const netsnmp_variable_list *,
 
448
                                           const struct enum_list *,
 
449
                                           const char *, const char *);
 
450
 
 
451
    int             snprint_ipaddress(char *buf, size_t buf_len,
 
452
                                      const netsnmp_variable_list *,
 
453
                                      const struct enum_list *, const char *,
 
454
                                      const char *);
 
455
 
 
456
    int             snprint_null(char *buf, size_t buf_len,
 
457
                                 const netsnmp_variable_list *,
 
458
                                 const struct enum_list *, const char *,
 
459
                                 const char *);
 
460
 
 
461
    int             snprint_bitstring(char *buf, size_t buf_len,
 
462
                                      const netsnmp_variable_list *,
 
463
                                      const struct enum_list *, const char *,
 
464
                                      const char *);
 
465
 
 
466
    int             snprint_nsapaddress(char *buf, size_t buf_len,
 
467
                                        const netsnmp_variable_list *,
 
468
                                        const struct enum_list *, const char *,
 
469
                                        const char *);
 
470
 
 
471
    int             snprint_counter64(char *buf, size_t buf_len,
 
472
                                      const netsnmp_variable_list *,
 
473
                                      const struct enum_list *, const char *,
 
474
                                      const char *);
 
475
 
 
476
    int             snprint_badtype(char *buf, size_t buf_len,
 
477
                                    const netsnmp_variable_list *,
 
478
                                    const struct enum_list *, const char *,
 
479
                                    const char *);
 
480
 
 
481
#ifdef OPAQUE_SPECIAL_TYPES
 
482
    int             snprint_float(char *buf, size_t buf_len,
 
483
                                  const netsnmp_variable_list *,
 
484
                                  const struct enum_list *, const char *,
 
485
                                  const char *);
 
486
 
 
487
    int             snprint_double(char *buf, size_t buf_len,
 
488
                                   const netsnmp_variable_list *,
 
489
                                   const struct enum_list *, const char *,
 
490
                                   const char *);
 
491
#endif
 
492
 
 
493
    void            print_oid_report(FILE *);
 
494
    void            print_oid_report_enable_labeledoid(void);
 
495
    void            print_oid_report_enable_oid(void);
 
496
    void            print_oid_report_enable_suffix(void);
 
497
    void            print_oid_report_enable_symbolic(void);
 
498
 
 
499
    const char     *parse_octet_hint(const char *hint, const char *value,
 
500
                                     unsigned char **new_val, int *new_val_len);
 
501
 
 
502
    void            clear_tree_flags(register struct tree *tp);
 
503
 
 
504
    char           *snmp_out_toggle_options(char *);
 
505
    void            snmp_out_toggle_options_usage(const char *, FILE *);
 
506
    char           *snmp_in_toggle_options(char *);
 
507
    char           *snmp_in_options(char *, int, char * const *);
 
508
    void            snmp_in_toggle_options_usage(const char *, FILE *);
 
509
    u_char          mib_to_asn_type(int mib_type);
 
510
 
 
511
 
 
512
    int             netsnmp_str2oid(const char *S, oid * O, int L);
 
513
 
 
514
 
 
515
#define NETSNMP_STRING_OUTPUT_GUESS  1
 
516
#define NETSNMP_STRING_OUTPUT_ASCII  2
 
517
#define NETSNMP_STRING_OUTPUT_HEX    3
 
518
 
 
519
#define NETSNMP_OID_OUTPUT_SUFFIX  1
 
520
#define NETSNMP_OID_OUTPUT_MODULE  2
 
521
#define NETSNMP_OID_OUTPUT_FULL    3
 
522
#define NETSNMP_OID_OUTPUT_NUMERIC 4
 
523
#define NETSNMP_OID_OUTPUT_UCD     5
 
524
#define NETSNMP_OID_OUTPUT_NONE    6
 
525
#ifdef __cplusplus
 
526
}
 
527
#endif
 
528
#endif                          /* MIB_H */