ITK Function Reference
(V10000.1.0.60_20160308.00)
Main Page
Related Pages
Modules
Data Structures
Files
File List
Globals
ss
ss_const.h
Go to the documentation of this file.
1
/*==============================================================================
2
Copyright (c) 2003-2005 UGS Corporation
3
Unpublished - All Rights Reserved
4
==============================================================================*/
5
12
/* */
13
14
#ifndef SS_CONST_H
15
#define SS_CONST_H
16
17
#include <
unidefs.h
>
18
19
#ifndef UNX
20
#include <signal.h>
21
#else
22
#include <sys/signal.h>
23
#endif
24
25
#include <ss/libss_exports.h>
26
41
#define SS_EIM_CONTEXT 1
42
#define SS_USER_CONTEXT 2
43
49
#define SS_NUM_MTYPES 3
50
58
#define SS_WNT_MACHINE 0
59
#define SS_VMS_MACHINE 1
60
#define SS_UNIX_MACHINE 2
61
62
#define SS_VALID_MTYPE(a) ( (a >= 0) && (a < SS_NUM_MTYPES) )
63
64
#ifdef VMS
65
#define SS_MACHINE_TYPE SS_VMS_MACHINE
66
#endif
67
68
#ifdef UNX
69
#define SS_MACHINE_TYPE SS_UNIX_MACHINE
70
#endif
71
72
#ifdef WNT
73
#define SS_MACHINE_TYPE SS_WNT_MACHINE
74
#endif
75
82
#define SS_ANYPROTO 0
83
#define SS_DECNET 1
84
#define SS_TCPIP 2
85
91
#define SS_BACKGROUND 1
92
#define SS_FOREGROUND 2
93
#define SS_DETACHED 3
94
#define SS_DETACHED2 4
95
#define SS_CHAINED 5
96
104
#define SS_NOTSTOPPED 0
105
107
#define SS_EXITED 1
108
110
#define SS_SIGNALLED 2
111
118
#ifdef VMS
119
#define SS_EXIT_STAT_OK 1
120
#else
121
#define SS_EXIT_STAT_OK 0
122
#endif
123
129
#define SS_IPCCRT 1
130
#define SS_IPCATT 2
131
#define SS_IPCNET 4
132
#define SS_IPCACCEPT 8
133
139
#define SS_ENABLED 1
140
#define SS_DISABLED 2
141
147
#define SS_NIPC_HEADER_LONGS 1
148
#define SS_NIPC_MAXMSGLEN 0x10000
/* 64 k */
149
155
#define SS_NO_ACCESS 16
156
#define SS_NO_EXIST 07// Can't assign 08. Compilation error.
157
#define SS_READ 04
158
#define SS_WRITE 02
159
#define SS_EXECUTE 01
160
#define SS_EXISTS 00
161
167
#define SS_MSG_WAIT 1
168
#define SS_MSG_NOWAIT 2
169
#define SS_MSG_NOTIFY 4
170
#define SS_MSG_NETHDR 8
171
177
#define SS_NATIVE 0
178
#define SS_SERVER 1
179
#define SS_UGFM 2
180
186
#define SS_FILE 1
187
#define SS_DIRECTORY 2
188
194
#define SS_NOFILE 0x0
195
#define SS_OPEN 0x1
196
#define SS_CLOSED 0x2
197
#define SS_ERROR 0x4
198
#define SS_DELETED 0x8
199
#define SS_NODIR 0x10
200
206
#define SS_RDONLY 01
207
#define SS_WRONLY 02
208
#define SS_RDWRITE 03
209
#define SS_APPEND 04
210
216
#ifdef VMS
217
#define SS_ALL_PERMISSIONS_DMODE 07777
218
#define SS_DEF_FMODE 06644
219
#define SS_DEF_DMODE 07755
220
#define SS_NO_WORLD_ACCESS_FMODE 06640
221
#define SS_NO_WORLD_ACCESS_DMODE 07750
222
#define SS_SYS_BIT 01000
223
#else
224
#define SS_ALL_PERMISSIONS_DMODE 0777
225
#define SS_DEF_FMODE 0644
226
#define SS_DEF_DMODE 0755
227
#define SS_NO_WORLD_ACCESS_FMODE 0640
228
#define SS_NO_WORLD_ACCESS_DMODE 0750
229
#define SS_SYS_BIT 0
230
#endif
231
237
#define SS_TEXT 010000
238
#define SS_BINARY 020000
239
#define SS_TRANSLATE 040000
240
243
#define SS_OBJECT 0
244
249
#define SS_VOID 0
250
#define SS_CHAR 1
251
#define SS_WCHAR 2
252
#define SS_BYTE 3
253
#define SS_SHORT 4
254
#define SS_LONG 5
255
#define SS_FLOAT 6
256
#define SS_DOUBLE 7
257
#define SS_NUM_TYPES 8
258
261
#define SS_MAXMSGLEN 1024
262
264
#define SS_MAXPATHLEN 256
265
267
#define SS_MAXHOSTLEN 80
268
272
#define SS_MAX_NO_CHAR 4096
273
275
#define SS_MAXLLEN (SS_MAX_NO_CHAR + 3)
276
278
#define SS_MAX_NUM_FILES 100
279
281
#define SS_MAXPIDSTR (SS_MAXPATHLEN + SS_MAXHOSTLEN + 2)
282
284
#define SS_USERLEN 80
285
287
#define SS_MAX_ENV_LEN 255
288
290
#define GMT_ZONE "GMT_TIME_ZONE"
291
296
#ifdef UNX
297
#define SS_SIGMAIL SIGUSR1
298
#define SS_SIGCLD SIGCLD
299
#else
300
#define SS_SIGCLD 18
301
#endif
302
308
#define SS_SIGHUP SIGHUP
309
#define SS_SIGINT SIGINT
310
#define SS_SIGILL SIGILL
311
#define SS_SIGTRAP SIGTRAP
312
#define SS_SIGFPE SIGFPE
313
#define SS_SIGBUS SIGBUS
314
#define SS_SIGSEGV SIGSEGV
315
#define SS_SIGTERM SIGTERM
316
#ifdef WNT
317
#define SS_SIGQUIT SIGINT
318
#define SS_SIGKILL SIGINT
319
#else
320
#define SS_SIGQUIT SIGQUIT
321
#define SS_SIGKILL SIGKILL
322
#endif
323
329
#ifdef WNT
330
#define SS_ACCESS_REPLACE_FOR_USER (1)
331
#define SS_ACCESS_ADD (2)
332
#define SS_ACCESS_REPLACE_ALL (3)
333
#endif
334
338
#include <ss/libss_undef.h>
339
340
#endif