2 |
7u83 |
1 |
# Crown Copyright (c) 1997
|
|
|
2 |
#
|
|
|
3 |
# This TenDRA(r) Computer Program is subject to Copyright
|
|
|
4 |
# owned by the United Kingdom Secretary of State for Defence
|
|
|
5 |
# acting through the Defence Evaluation and Research Agency
|
|
|
6 |
# (DERA). It is made available to Recipients with a
|
|
|
7 |
# royalty-free licence for its use, reproduction, transfer
|
|
|
8 |
# to other parties and amendment for any purpose not excluding
|
|
|
9 |
# product development provided that any such use et cetera
|
|
|
10 |
# shall be deemed to be acceptance of the following conditions:-
|
|
|
11 |
#
|
|
|
12 |
# (1) Its Recipients shall ensure that this Notice is
|
|
|
13 |
# reproduced upon any copies or amended versions of it;
|
|
|
14 |
#
|
|
|
15 |
# (2) Any amended version of it shall be clearly marked to
|
|
|
16 |
# show both the nature of and the organisation responsible
|
|
|
17 |
# for the relevant amendment or amendments;
|
|
|
18 |
#
|
|
|
19 |
# (3) Its onward transfer from a recipient to another
|
|
|
20 |
# party shall be deemed to be that party's acceptance of
|
|
|
21 |
# these conditions;
|
|
|
22 |
#
|
|
|
23 |
# (4) DERA gives no warranty or assurance as to its
|
|
|
24 |
# quality or suitability for any purpose and DERA accepts
|
|
|
25 |
# no liability whatsoever in relation to any use to which
|
|
|
26 |
# it may be put.
|
|
|
27 |
#
|
|
|
28 |
+USE "svid3", "", "config" ;
|
|
|
29 |
+USE "svid3", "sys/types.h" (?!) ;
|
|
|
30 |
|
|
|
31 |
+TYPE ( int ) id_t ;
|
|
|
32 |
+CONST id_t P_MYID ;
|
|
|
33 |
|
|
|
34 |
+TYPE ( int ) idtype_t ;
|
|
|
35 |
+CONST idtype_t P_PID, P_PPID, P_PGID, P_SID, P_UID, P_GID, P_CID, P_ALL ;
|
|
|
36 |
|
|
|
37 |
+TYPE ( int ) idop_t ;
|
|
|
38 |
+CONST idop_t POP_DIFF, POP_AND, POP_OR, POP_XOR ;
|
|
|
39 |
|
|
|
40 |
+FIELD ( struct ) procset_t {
|
|
|
41 |
idop_t p_op ;
|
|
|
42 |
idtype_t p_lidtype ;
|
|
|
43 |
id_t p_lid ;
|
|
|
44 |
idtype_t p_ridtype ;
|
|
|
45 |
id_t p_rid ;
|
|
|
46 |
} ;
|
|
|
47 |
|
|
|
48 |
+FUNC int sigsend ( idtype_t, id_t, int ) ;
|
|
|
49 |
+FUNC int sigsendset ( const procset_t *, int ) ;
|