aboutsummaryrefslogtreecommitdiffstats
path: root/src/libmdsserver/config.h.in
blob: a1242f7b28576a4190d1e9252d4240205f50bada (plain) (blame)
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
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
/**
 * mds — A micro-display server
 * Copyright © 2014, 2015, 2016  Mattias Andrée (maandree@member.fsf.org)
 * 
 * This program is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 * 
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY 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/>.
 */
#ifndef MDS_CONFIG_H
#define MDS_CONFIG_H


/**
 * The name under which this package is installed
 */
#define PKGNAME  "@PKGNAME@"


/**
 * The directory where all servers are installed
 */
#define LIBEXECDIR  "@LIBEXECDIR@"


/**
 * The system's directory for non-persistent temporary files
 */
#define TMPDIR  "@TMPDIR@"


/**
 * The system's directory for runtime data
 */
#define RUNDIR  "@RUNDIR@"


/**
 * The system's directory for site-specific configurations
 */
#define SYSCONFDIR  "@SYSCONFDIR@"


/**
 * The system's directory for pseudo-devices
 */
#define DEVDIR  "@DEVDIR@"


/**
 * Pathname pattern for virtual terminals
 */
#define VT_PATH_PATTERN  "@VT_PATH_PATTERN@"


/**
 * The root directory of all runtime data stored by mds
 */
#define MDS_RUNTIME_ROOT_DIRECTORY  "@MDS_RUNTIME_ROOT_DIRECTORY@"


/**
 * The root directory of temporarily stored data stored by mds servers
 */
#define MDS_STORAGE_ROOT_DIRECTORY  "@MDS_STORAGE_ROOT_DIRECTORY@"


/**
 * The user ID for the root user
 */
#define ROOT_USER_UID  @ROOT_USER_UID@


/**
 * The group ID for the root group
 */
#define ROOT_GROUP_GID  @ROOT_GROUP_GID@


/**
 * The group ID for the nobody group
 */
#define NOBODY_GROUP_GID  @NOBODY_GROUP_GID@

/* These three names above are redundant, but that is to avoid errors. */


/**
 * The byte length of the authentication token
 */
#define TOKEN_LENGTH  @TOKEN_LENGTH@


/**
 * Random number generator to use for generating a token
 */
#define TOKEN_RANDOM  "@TOKEN_RANDOM@"


/**
 * The path of the symlink to the executed command
 */
#define SELF_EXE  "@SELF_EXE@"


/**
 * The path to the directory with symlinks to each file that is open
 */
#define SELF_FD  "@SELF_FD@"


/**
 * Pattern for the names of shared object to which states are marshalled
 */
#define SHM_PATH_PATTERN  "@SHM_PATH_PATTERN@"


/**
 * The maximum number of command line arguments to allow
 */
#define ARGC_LIMIT  @ARGC_LIMIT@


/**
 * The number of additional arguments a libexec server may have
 */
#define LIBEXEC_ARGC_EXTRA_LIMIT  @LIBEXEC_ARGC_EXTRA_LIMIT@


/**
 * The maximum number of display allowed on the system
 */
#define DISPLAY_MAX  @DISPLAY_MAX@


/**
 * The name of the environment variable that
 * indicates the index of the display
 */
#define DISPLAY_ENV  "@DISPLAY_ENV@"


/**
 * The name of the environment variable that
 * indicates the display server's process group
 */
#define PGROUP_ENV  "@PGROUP_ENV@"


/**
 * The minimum time that most have elapsed
 * for respawning to be allowed
 */
#define RESPAWN_TIME_LIMIT_SECONDS  @RESPAWN_TIME_LIMIT_SECONDS@


/**
 * The dot-prefixless basename of the initrc
 * file that the master server executes
 */
#define INITRC_FILE  "@INITRC_FILE@"


#endif