aboutsummaryrefslogtreecommitdiff
path: root/lib/darwin
diff options
context:
space:
mode:
Diffstat (limited to 'lib/darwin')
-rw-r--r--lib/darwin/xxpc.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/darwin/xxpc.h b/lib/darwin/xxpc.h
index 5caed15..4b5e175 100644
--- a/lib/darwin/xxpc.h
+++ b/lib/darwin/xxpc.h
@@ -3,6 +3,7 @@
* on OS X. */
#include <dispatch/dispatch.h>
#include <os/object.h>
+#include <mach/message.h> /* for audit_token_t */
#if OS_OBJECT_USE_OBJC
#define DC_CAST (__bridge xxpc_object_t)
@@ -23,6 +24,7 @@ DEFINE_CONST(XXPC_TYPE_ERROR, _xpc_type_error);
DEFINE_CONST(XXPC_TYPE_DICTIONARY, _xpc_type_dictionary);
DEFINE_CONST(XXPC_TYPE_ARRAY, _xpc_type_array);
DEFINE_CONST(XXPC_TYPE_STRING, _xpc_type_string);
+DEFINE_CONST(XXPC_TYPE_INT64, _xpc_type_int64);
DEFINE_CONST(XXPC_ERROR_CONNECTION_INTERRUPTED,
_xpc_error_connection_interrupted);
DEFINE_CONST(XXPC_ERROR_CONNECTION_INVALID,
@@ -44,6 +46,7 @@ char *WRAP(xpc_copy_description, (xxpc_object_t));
xxpc_type_t WRAP(xpc_get_type, (xxpc_object_t));
xxpc_object_t WRAP(xpc_string_create, (const char *));
const char *WRAP(xpc_string_get_string_ptr, (xxpc_object_t));
+int64_t WRAP(xpc_int64_get_value, (xxpc_object_t));
void WRAP(xpc_array_append_value, (xxpc_object_t, xxpc_object_t));
xxpc_object_t WRAP(xpc_array_create, (const xxpc_object_t *, size_t));
size_t WRAP(xpc_array_get_count, (const xxpc_object_t));
@@ -61,7 +64,10 @@ const char *WRAP(xpc_dictionary_get_string, (xxpc_object_t, const char *));
xxpc_object_t WRAP(xpc_dictionary_get_value, (xxpc_object_t, const char *));
void WRAP(xpc_dictionary_set_bool, (xxpc_object_t, const char *, bool));
void WRAP(xpc_dictionary_set_string, (xxpc_object_t, const char *, const char *));
+void WRAP(xpc_dictionary_set_uint64, (xxpc_object_t, const char *, uint64_t));
+void WRAP(xpc_dictionary_set_int64, (xxpc_object_t, const char *, int64_t));
void WRAP(xpc_dictionary_set_value, (xxpc_object_t, const char *, xxpc_object_t));
+void WRAP(xpc_dictionary_get_audit_token, (xxpc_object_t, audit_token_t *));
xxpc_connection_t WRAP(xpc_connection_create_mach_service, (const char *,
dispatch_queue_t,
@@ -72,6 +78,8 @@ void WRAP(xpc_connection_send_message_with_reply,
(xxpc_connection_t, xxpc_object_t, dispatch_queue_t, xxpc_handler_t));
void WRAP(xpc_connection_send_message, (xxpc_connection_t, xxpc_object_t));
void WRAP(xpc_connection_cancel, (xxpc_connection_t));
+int WRAP(xpc_pipe_routine_reply, (xxpc_object_t));
+
#undef DEFINE_TYPE
#undef DEFINE_CONST