XPC Services endpoint.h Reference
XPC_EXPORT XPC_MALLOC XPC_RETURNS_RETAINED XPC_WARN_RESULT XPC_NONNULL1 xpc_endpoint_t xpc_endpoint_create( xpc_connection_t connection);
Only connections obtained through calls to xpc_connection_create*() may be given to this API. Passing any other type of connection is not supported and will result in undefined behavior.
A new endpoint object.
Creates a new endpoint from a connection that is suitable for embedding into messages.