1 /**
2  * xrdp: A Remote Desktop Protocol server.
3  *
4  * MS-RDPELE : Definitions from [MS-RDPELE]
5  *
6  * Licensed under the Apache License, Version 2.0 (the "License");
7  * you may not use this file except in compliance with the License.
8  * You may obtain a copy of the License at
9  *
10  *     http://www.apache.org/licenses/LICENSE-2.0
11  *
12  * Unless required by applicable law or agreed to in writing, software
13  * distributed under the License is distributed on an "AS IS" BASIS,
14  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15  * See the License for the specific language governing permissions and
16  * limitations under the License.
17  *
18  * References to MS-RDPELE are currently correct for v20180912 of that
19  * document
20  */
21 
22 #if !defined(MS_RDPELE_H)
23 #define MS_RDPELE_H
24 
25 /* LicensingMessage (MS-RDPELE 2.2.2) */
26 /* TODO: to be renamed */
27 #define LICENCE_TAG_DEMAND             0x01 /* LICNSE_REQUEST */
28 #define LICENCE_TAG_AUTHREQ            0x02 /* PLATFORM_CHALLENGE */
29 #define LICENCE_TAG_ISSUE              0x03 /* NEW_LICENSE */
30 #define LICENCE_TAG_REISSUE            0x04 /* UPGRADE_LICENSE */
31 #define LICENCE_TAG_PRESENT            0x12 /* LICENSE_INFO */
32 #define LICENCE_TAG_REQUEST            0x13 /* NEW_LICENSE_REQUEST */
33 #define LICENCE_TAG_AUTHRESP           0x15 /* PLATFORM_CHALLENGE_RESPONSE */
34 #define LICENCE_TAG_RESULT             0xff
35 
36 #endif /* MS_RDPELE_H */
37