Updating trunk VERSION from 2139.0 to 2140.0
[chromium-blink-merge.git] / sandbox / mac / xpc_stubs.sig
blobd20af58a6ec48137575332ed0740ac8087041857
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
3 // found in the LICENSE file.
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
7 // loader.
9 // XPC object management.
10 void xpc_release(xpc_object_t object);
12 // Dictionary manipulation.
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);
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, uint64_t value);
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);
19 xpc_object_t xpc_dictionary_create_reply(xpc_object_t request);