aboutsummaryrefslogtreecommitdiff
path: root/test/Analysis/system-header-simulator.h
diff options
context:
space:
mode:
Diffstat (limited to 'test/Analysis/system-header-simulator.h')
-rw-r--r--test/Analysis/system-header-simulator.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/Analysis/system-header-simulator.h b/test/Analysis/system-header-simulator.h
index d2fb2e8684..5790fb9cff 100644
--- a/test/Analysis/system-header-simulator.h
+++ b/test/Analysis/system-header-simulator.h
@@ -53,3 +53,10 @@ CGContextRef CGBitmapContextCreate(void *data/*, size_t width, size_t height,
CGColorSpaceRef space,
CGBitmapInfo bitmapInfo*/);
void *CGBitmapContextGetData(CGContextRef context);
+
+// Include xpc.
+typedef struct _xpc_connection_s * xpc_connection_t;
+typedef void (*xpc_finalizer_t)(void *value);
+void xpc_connection_set_context(xpc_connection_t connection, void *context);
+void xpc_connection_set_finalizer_f(xpc_connection_t connection, xpc_finalizer_t finalizer);
+void xpc_connection_resume(xpc_connection_t connection);