Add xpc_event_publisher stubs

This commit is contained in:
Thomas A 2022-04-29 16:47:03 -07:00
parent 95ff731415
commit 1e6fc31277
2 changed files with 10 additions and 0 deletions

View File

@ -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

View File

@ -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)