OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 // This file contains declarations of private XPC functions. This file is | 5 // This file contains declarations of private XPC functions. This file is |
6 // used for both forward declarations of private symbols and to use with | 6 // used for both forward declarations of private symbols and to use with |
7 // tools/generate_stubs for creating a dynamic library loader. | 7 // tools/generate_stubs for creating a dynamic library loader. |
8 | 8 |
9 // Dictionary manipulation. | 9 // Dictionary manipulation. |
10 void xpc_dictionary_set_mach_send(xpc_object_t dict, const char* name, mach_port
_t port); | 10 void xpc_dictionary_set_mach_send(xpc_object_t dictionary, const char* name, mac
h_port_t port); |
| 11 void xpc_dictionary_get_audit_token(xpc_object_t dictionary, audit_token_t* toke
n); |
11 | 12 |
12 // Pipe methods. | 13 // Pipe methods. |
13 xpc_pipe_t xpc_pipe_create_from_port(mach_port_t port, int flags); | 14 xpc_pipe_t xpc_pipe_create_from_port(mach_port_t port, int flags); |
14 int xpc_pipe_receive(mach_port_t port, xpc_object_t* message); | 15 int xpc_pipe_receive(mach_port_t port, xpc_object_t* message); |
15 int xpc_pipe_routine(xpc_pipe_t pipe, xpc_object_t request, xpc_object_t* reply)
; | 16 int xpc_pipe_routine(xpc_pipe_t pipe, xpc_object_t request, xpc_object_t* reply)
; |
16 int xpc_pipe_routine_reply(xpc_object_t reply); | 17 int xpc_pipe_routine_reply(xpc_object_t reply); |
| 18 int xpc_pipe_simpleroutine(xpc_pipe_t pipe, xpc_object_t message); |
17 int xpc_pipe_routine_forward(xpc_pipe_t forward_to, xpc_object_t request); | 19 int xpc_pipe_routine_forward(xpc_pipe_t forward_to, xpc_object_t request); |
OLD | NEW |