es_subscriptions(_:_:_:)
Returns a list of the client’s subscriptions.
Declaration
func es_subscriptions(_ client: OpaquePointer, _ count: UnsafeMutablePointer<Int>, _ subscriptions: UnsafeMutablePointer<UnsafeMutablePointer<es_event_type_t>>?) -> es_return_tParameters
- client:
The client to query.
- count:
On return, the number of items in the
subscriptionsarray. - subscriptions:
An array of subscribed event types.
Return Value
A value that indicates whether the subscriptions query succeeded. ES_RETURN_ERROR indicates that the caller couldn’t reach the Endpoint Security subsystem or that the request was invalid.
Discussion
On return, the caller takes ownership of the memory pointed to by the subscriptions parameter, and must free it.