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 #ifndef SANDBOX_MAC_XPC_STUBS_HEADER_FRAGMENT_ | 5 #ifndef SANDBOX_MAC_XPC_STUBS_HEADER_FRAGMENT_ |
6 #define SANDBOX_MAC_XPC_STUBS_HEADER_FRAGMENT_ | 6 #define SANDBOX_MAC_XPC_STUBS_HEADER_FRAGMENT_ |
7 | 7 |
8 #include <bsm/libbsm.h> | 8 #include <bsm/libbsm.h> |
| 9 #include <stddef.h> |
| 10 #include <stdint.h> |
9 | 11 |
10 #include "sandbox/sandbox_export.h" | 12 #include "sandbox/sandbox_export.h" |
11 | 13 |
12 // Declare or include public types. | 14 // Declare or include public types. |
13 #if !defined(MAC_OS_X_VERSION_10_7) || \ | 15 #if !defined(MAC_OS_X_VERSION_10_7) || \ |
14 MAC_OS_X_VERSION_MAX_ALLOWED < MAC_OS_X_VERSION_10_7 | 16 MAC_OS_X_VERSION_MAX_ALLOWED < MAC_OS_X_VERSION_10_7 |
15 | 17 |
16 extern "C" { | 18 extern "C" { |
17 typedef void* xpc_object_t; | 19 typedef void* xpc_object_t; |
18 } // extern "C" | 20 } // extern "C" |
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
67 | 69 |
68 XPC_EXPORT XPC_WARN_RESULT XPC_NONNULL1 XPC_NONNULL2 | 70 XPC_EXPORT XPC_WARN_RESULT XPC_NONNULL1 XPC_NONNULL2 |
69 xpc_object_t xpc_dictionary_get_value(xpc_object_t xdict, const char* key); | 71 xpc_object_t xpc_dictionary_get_value(xpc_object_t xdict, const char* key); |
70 | 72 |
71 XPC_EXPORT XPC_MALLOC XPC_WARN_RESULT XPC_NONNULL1 | 73 XPC_EXPORT XPC_MALLOC XPC_WARN_RESULT XPC_NONNULL1 |
72 char* xpc_copy_description(xpc_object_t object); | 74 char* xpc_copy_description(xpc_object_t object); |
73 } // extern "C" | 75 } // extern "C" |
74 #endif | 76 #endif |
75 | 77 |
76 #endif // SANDBOX_MAC_XPC_STUBS_HEADER_FRAGMENT_ | 78 #endif // SANDBOX_MAC_XPC_STUBS_HEADER_FRAGMENT_ |
OLD | NEW |