aboutsummaryrefslogtreecommitdiff
path: root/src/defines.h
blob: 08314e34879c844c732a83ca9c72e031cf2edd39 (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
/*
 * Copyright © 2012 Canonical Ltd.
 * Copyright © 2015 The Arctica Project
 *
 * This program is free software: you can redistribute it and/or modify it
 * under the terms of the GNU General Public License version 3, as
 * published by the Free Software Foundation.
 *
 * This program is distributed in the hope that it will be useful, but
 * WITHOUT ANY WARRANTY; without even the implied warranties of
 * MERCHANTABILITY, SATISFACTORY QUALITY, or FITNESS FOR A PARTICULAR
 * PURPOSE.  See the GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License along
 * with this program.  If not, see <http://www.gnu.org/licenses/>.
 *
 * Authors: Ted Gould <ted@canonical.com>
 *          Mike Gabriel <mike.gabriel@das-netzwerkteam.de>
 */

#ifndef __DEFINES_H__
#define __DEFINES_H__

/* required UCCS API version */
#define UCCS_API_VERSION "5"

#define CONFIG_MAIN_GROUP "Remote Logon Service"
#define CONFIG_MAIN_SERVERS   "Servers"
#define CONFIG_SERVER_PREFIX  "Server"
#define CONFIG_SERVER_NAME    "Name"
#define CONFIG_SERVER_URI     "URI"

#define CONFIG_UCCS_EXEC      "Exec"
#define CONFIG_UCCS_NETWORK   "NetworkRequired"
#define CONFIG_UCCS_NETWORK_NONE "None"
#define CONFIG_UCCS_NETWORK_GLOBAL "Global"
#define CONFIG_UCCS_VERIFY    "VerifyServer"

#define CONFIG_SERVER_TYPE       "Type"
#define CONFIG_SERVER_TYPE_RDP   "RDP"
#define CONFIG_SERVER_TYPE_ICA   "ICA"
#define CONFIG_SERVER_TYPE_X2GO  "X2GO"
#define CONFIG_SERVER_TYPE_UCCS  "UCCS"

#define JSON_PROTOCOL        "Protocol"
#define JSON_SERVER_NAME     "Name"
#define JSON_URI             "URL"
#define JSON_USERNAME        "Username"
#define JSON_PASSWORD        "Password"
#define JSON_DOMAIN          "WindowsDomain"
#define JSON_DOMAIN_REQ      "DomainRequired"
#define JSON_COMMNAD         "Command"
#define JSON_COMMNAD_REQ     "CommandRequired"

#endif /* __DEFINES_H__ */