XPC Services endpoint.h Reference
| Declared in | endpoint.h |
Overview
Functions
See the Overview for header-level documentation.
xpc_endpoint_create
__OSX_AVAILABLE_STARTING( __MAC_10_7, __IPHONE_5_0) XPC_EXPORT XPC_NONNULL1 XPC_WARN_RESULT xpc_endpoint_t xpc_endpoint_create( xpc_connection_t connection);
Parameters
- 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.
Return Value
A new endpoint object.
Discussion
Creates a new endpoint from a connection that is suitable for embedding into messages.
© 2011 Apple Inc. All Rights Reserved. (Last updated: 2011-09-29)