From 1e6fc312776f2c7421b70d47e28770c3ce8d0b50 Mon Sep 17 00:00:00 2001 From: Thomas A Date: Fri, 29 Apr 2022 16:47:03 -0700 Subject: [PATCH] Add xpc_event_publisher stubs --- include/xpc/launchd_defs.h | 6 ++++++ include/xpc/private.h | 4 ++++ 2 files changed, 10 insertions(+) diff --git a/include/xpc/launchd_defs.h b/include/xpc/launchd_defs.h index b9da03d..118f3e3 100644 --- a/include/xpc/launchd_defs.h +++ b/include/xpc/launchd_defs.h @@ -41,6 +41,12 @@ typedef enum { XPC_PROCESS_SERVICE_KILL } xpc_jetsam_t; +typedef enum { + XPC_EVENT_PUBLISHER_ACTION_ADD, + XPC_EVENT_PUBLISHER_ACTION_REMOVE, + XPC_EVENT_PUBLISHER_ACTION_INITIAL_BARRIER +} xpc_event_publisher_action_t; + #define XPC_SERVICE_TYPE_BUNDLED 0xBADDCAFE #define XPC_SERVICE_TYPE_LAUNCHD 0xBABECAFE #define XPC_SERVICE_TYPE_APP 0xDEADCAFE diff --git a/include/xpc/private.h b/include/xpc/private.h index c5049a7..104f346 100644 --- a/include/xpc/private.h +++ b/include/xpc/private.h @@ -35,6 +35,10 @@ __BEGIN_DECLS +typedef struct { + +} *xpc_event_publisher_t; + XPC_EXPORT XPC_TYPE(_xpc_type_serializer); #define XPC_TYPE_SERIALIZER (&_xpc_type_serializer)