summaryrefslogtreecommitdiffstats
path: root/src/include/usr/vpd/mvpdenums.H
blob: 43ce0acf9a5be69a4db72acf69c164ad9e04e0f5 (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
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
/* IBM_PROLOG_BEGIN_TAG                                                   */
/* This is an automatically generated prolog.                             */
/*                                                                        */
/* $Source: src/include/usr/vpd/mvpdenums.H $                             */
/*                                                                        */
/* IBM CONFIDENTIAL                                                       */
/*                                                                        */
/* COPYRIGHT International Business Machines Corp. 2013                   */
/*                                                                        */
/* p1                                                                     */
/*                                                                        */
/* Object Code Only (OCO) source materials                                */
/* Licensed Internal Code Source Materials                                */
/* IBM HostBoot Licensed Internal Code                                    */
/*                                                                        */
/* The source code for this program is not published or otherwise         */
/* divested of its trade secrets, irrespective of what has been           */
/* deposited with the U.S. Copyright Office.                              */
/*                                                                        */
/* Origin: 30                                                             */
/*                                                                        */
/* IBM_PROLOG_END_TAG                                                     */
/**
 * @file mvpdenums.H
 *
 * @brief Enums for the MVPD fields to be requested.
 *
 */
#ifndef __MVPDENUMS_H
#define __MVPDENUMS_H

namespace MVPD
{

/**
* @brief Enumeration for the MVPD Records that contain
*       the keyword enumerations below.
*/
enum mvpdRecord
{
    MVPD_FIRST_RECORD   = 0x00,
    CRP0        = MVPD_FIRST_RECORD,
    CP00        = 0x01,
    VINI        = 0x02,
    LRP0        = 0x03,
    LRP1        = 0x04,
    LRP2        = 0x05,
    LRP3        = 0x06,
    LRP4        = 0x07,
    LRP5        = 0x08,
    LRP6        = 0x09,
    LRP7        = 0x0a,
    LRP8        = 0x0b,
    LRP9        = 0x0c,
    LRPA        = 0x0d,
    LRPB        = 0x0e,
    LRPC        = 0x0f,
    LRPD        = 0x10,
    LRPE        = 0x11,
    LWP0        = 0x12,
    LWP1        = 0x13,
    LWP2        = 0x14,
    LWP3        = 0x15,
    LWP4        = 0x16,
    LWP5        = 0x17,
    LWP6        = 0x18,
    LWP7        = 0x19,
    LWP8        = 0x1a,
    LWP9        = 0x1b,
    LWPA        = 0x1c,
    LWPB        = 0x1d,
    LWPC        = 0x1e,
    LWPD        = 0x1f,
    LWPE        = 0x20,
    VWML        = 0x21,
    MER0        = 0x22,

    // Last Record
    MVPD_LAST_RECORD,
    MVPD_TEST_RECORD,   // Test purposes ONLY!
    MVPD_INVALID_RECORD = 0xFFFF,
};

/**
* @brief Enumerations for MVPD keywords that can be
*       accessed in the MVPD.
*/
enum mvpdKeyword
{
    MVPD_FIRST_KEYWORD      = 0x00,
    VD          = MVPD_FIRST_KEYWORD,
    ED          = 0x01,
    TE          = 0x02,
    DD          = 0x03,
    pdP         = 0x04,
    ST          = 0x05,
    DN          = 0x06,
    PG          = 0x07,
    PK          = 0x08,
    pdR         = 0x09,
    pdV         = 0x0a,
    pdH         = 0x0b,
    SB          = 0x0c,
    DR          = 0x0d,
    VZ          = 0x0e,
    CC          = 0x0f,
    CE          = 0x10,
    FN          = 0x11,
    PN          = 0x12,
    SN          = 0x13,
    PR          = 0x14,
    HE          = 0x15,
    CT          = 0x16,
    HW          = 0x17,
    pdM         = 0x18,
    IN          = 0x19,
    pd2         = 0x1a,
    pd3         = 0x1b,
    OC          = 0x1c,
    FO          = 0x1d,
    pdI         = 0x1e,
    pdG         = 0x1f,
    MK          = 0x20,
    PB          = 0x21,
    CH          = 0x22,

    // Last Keyword
    MVPD_LAST_KEYWORD,
    MVPD_TEST_KEYWORD,  // Test purposes ONLY!
    INVALID_MVPD_KEYWORD    = 0xFFFF,
};

};  // end MVPD

#endif
OpenPOWER on IntegriCloud