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 public XPC functions used in the sandbox. | 5 // This file contains declarations of public XPC functions used in the sandbox. |
6 // This file is used with tools/generate_stubs for creating a dynamic library | 6 // This file is used with tools/generate_stubs for creating a dynamic library |
7 // loader. | 7 // loader. |
8 | 8 |
9 // XPC object management. | 9 // XPC object management. |
10 void xpc_release(xpc_object_t object); | 10 void xpc_release(xpc_object_t object); |
11 | 11 |
12 // Dictionary manipulation. | 12 // Dictionary manipulation. |
13 xpc_object_t xpc_dictionary_create(const char* const keys, const xpc_object_t* v
alues, size_t count); | 13 xpc_object_t xpc_dictionary_create(const char* const *keys, const xpc_object_t*
values, size_t count); |
14 const char* xpc_dictionary_get_string(xpc_object_t dictionary, const char* key); | 14 const char* xpc_dictionary_get_string(xpc_object_t dictionary, const char* key); |
15 uint64_t xpc_dictionary_get_uint64(xpc_object_t dictionary, const char* key); | 15 uint64_t xpc_dictionary_get_uint64(xpc_object_t dictionary, const char* key); |
16 void xpc_dictionary_set_uint64(xpc_object_t dictionary, const char* key, int64_t
value); | 16 void xpc_dictionary_set_uint64(xpc_object_t dictionary, const char* key, uint64_
t value); |
17 int64_t xpc_dictionary_get_int64(xpc_object_t dictionary, const char* key); | 17 int64_t xpc_dictionary_get_int64(xpc_object_t dictionary, const char* key); |
18 void xpc_dictionary_set_int64(xpc_object_t dictionary, const char* key, int64_t
value); | 18 void xpc_dictionary_set_int64(xpc_object_t dictionary, const char* key, int64_t
value); |
19 xpc_object_t xpc_dictionary_create_reply(xpc_object_t request); | 19 xpc_object_t xpc_dictionary_create_reply(xpc_object_t request); |
OLD | NEW |