]>
Commit | Line | Data |
---|---|---|
81582353 A |
1 | /* |
2 | * Copyright (c) 2007-2011 Apple Inc. All rights reserved. | |
3 | * | |
4 | * @APPLE_LICENSE_HEADER_START@ | |
5 | * | |
6 | * This file contains Original Code and/or Modifications of Original Code | |
7 | * as defined in and that are subject to the Apple Public Source License | |
8 | * Version 2.0 (the 'License'). You may not use this file except in | |
9 | * compliance with the License. Please obtain a copy of the License at | |
10 | * http://www.opensource.apple.com/apsl/ and read it before using this | |
11 | * file. | |
12 | * | |
13 | * The Original Code and all software distributed under the License are | |
14 | * distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER | |
15 | * EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, | |
16 | * INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, | |
17 | * FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. | |
18 | * Please see the License for the specific language governing rights and | |
19 | * limitations under the License. | |
20 | * | |
21 | * @APPLE_LICENSE_HEADER_END@ | |
22 | */ | |
23 | ||
24 | #include <mach/std_types.defs> | |
25 | #include <mach/mach_types.defs> | |
26 | ||
27 | subsystem asl_ipc 114; | |
28 | serverprefix _; | |
29 | ||
30 | import <sys/types.h>; | |
31 | ||
32 | type ooline_data = ^ array [] of MACH_MSG_TYPE_BYTE | |
33 | ctype : caddr_t; | |
34 | ||
86a8bcf5 | 35 | skip; /* removed: _asl_server_query */ |
81582353 | 36 | |
86a8bcf5 | 37 | skip; /* removed: _asl_server_query_timeout */ |
81582353 | 38 | |
86a8bcf5 | 39 | skip; /* removed: _asl_server_prune */ |
81582353 A |
40 | |
41 | routine _asl_server_create_aux_link | |
42 | ( | |
43 | server : mach_port_t; | |
44 | message : ooline_data, dealloc; | |
45 | out fileport : mach_port_move_send_t; | |
46 | out url : ooline_data, dealloc; | |
47 | out status : int; | |
48 | ServerAuditToken token : audit_token_t | |
49 | ); | |
50 | ||
51 | simpleroutine _asl_server_message | |
52 | ( | |
53 | server : mach_port_t; | |
54 | message : ooline_data, dealloc; | |
55 | ServerAuditToken token : audit_token_t | |
56 | ); | |
57 | ||
58 | simpleroutine _asl_server_register_direct_watch | |
59 | ( | |
60 | server : mach_port_t; | |
61 | port : int; | |
62 | ServerAuditToken token : audit_token_t | |
63 | ); | |
64 | ||
65 | simpleroutine _asl_server_cancel_direct_watch | |
66 | ( | |
67 | server : mach_port_t; | |
68 | port : int; | |
69 | ServerAuditToken token : audit_token_t | |
70 | ); | |
71 | ||
72 | routine _asl_server_query_2 | |
73 | ( | |
74 | server : mach_port_t; | |
75 | request : ooline_data, dealloc; | |
76 | startid : uint64_t; | |
77 | count : int; | |
78 | flags : int; | |
79 | out reply : ooline_data, dealloc; | |
80 | out lastid : uint64_t; | |
81 | out status : int; | |
82 | ServerAuditToken token : audit_token_t | |
83 | ); | |
f3df4c03 A |
84 | |
85 | routine _asl_server_match | |
86 | ( | |
87 | server : mach_port_t; | |
88 | request : ooline_data, dealloc; | |
89 | startid : uint64_t; | |
90 | count : uint64_t; | |
91 | duration : uint32_t; | |
92 | direction : int; | |
93 | out reply : ooline_data, dealloc; | |
94 | out lastid : uint64_t; | |
95 | out status : int; | |
96 | ServerAuditToken token : audit_token_t | |
97 | ); |