blob: 7415b026960192f35921741d4995d184c04c5a53 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
|
/*-------------------------------------------------------------------------
* rdbmsRelTable_enums.h
*
* RDBMSMIB mib module.
*
* Copyright (c) 2004-2007, PostgreSQL Global Development Group
* Author: Joshua Tolley
*
* $Id: rdbmsRelTable_enums.h,v 1.2 2007/09/13 14:20:44 h-saito Exp $
*
*-------------------------------------------------------------------------
*/
#ifndef RDBMSRELTABLE_ENUMS_H
#define RDBMSRELTABLE_ENUMS_H
#ifdef __cplusplus
extern "C" {
#endif
/*
* NOTES on enums
* ==============
*
* Value Mapping
* -------------
* If the values for your data type don't exactly match the
* possible values defined by the mib, you should map them
* below. For example, a boolean flag (1/0) is usually represented
* as a TruthValue in a MIB, which maps to the values (1/2).
*
*/
/*************************************************************************
*************************************************************************
*
* enum definitions for table rdbmsRelTable
*
*************************************************************************
*************************************************************************/
/*************************************************************
* constants for enums for the MIB node
* rdbmsRelState (INTEGER / ASN_INTEGER)
*
* since a Textual Convention may be referenced more than once in a
* MIB, protect againt redefinitions of the enum values.
*/
#ifndef RDBMSRELSTATE_ENUMS
#define RDBMSRELSTATE_ENUMS
#define RDBMSRELSTATE_OTHER 1
#define RDBMSRELSTATE_ACTIVE 2
#define RDBMSRELSTATE_AVAILABLE 3
#define RDBMSRELSTATE_RESTRICTED 4
#define RDBMSRELSTATE_UNAVAILABLE 5
#endif /* RDBMSRELSTATE_ENUMS */
/*
* TODO:140:o: Define interal representation of rdbmsRelState enums.
* (used for value mapping; see notes at top of file)
*/
#define INTERNAL_RDBMSRELSTATE_OTHER 1
#define INTERNAL_RDBMSRELSTATE_ACTIVE 2
#define INTERNAL_RDBMSRELSTATE_AVAILABLE 3
#define INTERNAL_RDBMSRELSTATE_RESTRICTED 4
#define INTERNAL_RDBMSRELSTATE_UNAVAILABLE 5
#ifdef __cplusplus
}
#endif
#endif /* RDBMSRELTABLE_ENUMS_H */
|