]> git.saurik.com Git - apple/syslog.git/blobdiff - aslcommon/asl_ipc.defs
syslog-377.0.1.tar.gz
[apple/syslog.git] / aslcommon / asl_ipc.defs
index 7d8cce950c999b54e17e19c5ce3cf56e6b035a34..c5b3c62fabcca0c6e0f90fdac0a1fbfafaaab247 100644 (file)
@@ -1,7 +1,30 @@
+/*
+ * Copyright (c) 2007-2011 Apple Inc. All rights reserved.
+ *
+ * @APPLE_LICENSE_HEADER_START@
+ * 
+ * This file contains Original Code and/or Modifications of Original Code
+ * as defined in and that are subject to the Apple Public Source License
+ * Version 2.0 (the 'License'). You may not use this file except in
+ * compliance with the License. Please obtain a copy of the License at
+ * http://www.opensource.apple.com/apsl/ and read it before using this
+ * file.
+ * 
+ * The Original Code and all software distributed under the License are
+ * distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
+ * EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
+ * INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
+ * Please see the License for the specific language governing rights and
+ * limitations under the License.
+ * 
+ * @APPLE_LICENSE_HEADER_END@
+ */
+
 #include <mach/std_types.defs>
 #include <mach/mach_types.defs>
 
-subsystem asl_ipc 1;
+subsystem asl_ipc 114;
 serverprefix _;
 
 import <sys/types.h>;
@@ -9,37 +32,66 @@ import <sys/types.h>;
 type ooline_data = ^ array [] of MACH_MSG_TYPE_BYTE
        ctype : caddr_t;
 
-routine _asl_server_query
+skip; /* removed: _asl_server_query */
+
+skip; /* removed: _asl_server_query_timeout */
+
+skip; /* removed: _asl_server_prune */
+
+routine _asl_server_create_aux_link
 (
        server : mach_port_t;
-       request : ooline_data, dealloc;
-       startid : uint64_t;
-       count : int;
-       flags : int;
-       out reply : ooline_data, dealloc;
-       out lastid : uint64_t;
+       message : ooline_data, dealloc;
+       out fileport : mach_port_move_send_t;
+       out url : ooline_data, dealloc;
        out status : int;
-       SecToken token : security_token_t
+       ServerAuditToken token : audit_token_t
 );
 
-routine _asl_server_query_timeout
+simpleroutine _asl_server_message
+(
+       server : mach_port_t;
+       message : ooline_data, dealloc;
+       ServerAuditToken token : audit_token_t
+);
+
+simpleroutine _asl_server_register_direct_watch
+(
+       server : mach_port_t;
+       port : int;
+       ServerAuditToken token : audit_token_t
+);
+
+simpleroutine _asl_server_cancel_direct_watch
+(
+       server : mach_port_t;
+       port : int;
+       ServerAuditToken token : audit_token_t
+);
+
+routine _asl_server_query_2
 (
        server : mach_port_t;
        request : ooline_data, dealloc;
        startid : uint64_t;
        count : int;
        flags : int;
-       WaitTime timeout: natural_t;
        out reply : ooline_data, dealloc;
        out lastid : uint64_t;
        out status : int;
-       SecToken token : security_token_t
+       ServerAuditToken token : audit_token_t
 );
 
-routine _asl_server_prune
+routine _asl_server_match
 (
        server : mach_port_t;
        request : ooline_data, dealloc;
+       startid : uint64_t;
+       count : uint64_t;
+       duration : uint32_t;
+       direction : int;
+       out reply : ooline_data, dealloc;
+       out lastid : uint64_t;
        out status : int;
-       SecToken token : security_token_t
+       ServerAuditToken token : audit_token_t
 );