Type Alias

xpc_connection_handler_t

Declaration

typedef void (*xpc_connection_handler_t)(xpc_connection_t connection);

Parameters

connection

A new connection that is equivalent to one received by a listener connection. See the documentation for xpc_connection_set_event_handler for the semantics associated with the received connection.

Discussion

The type of the function that will be invoked for a bundled XPC service when there is a new connection on the service.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software