es_subscribe(_:_:_:)
Subscribes a client to a set of events.
Declaration
func es_subscribe(_ client: OpaquePointer, _ events: UnsafePointer<es_event_type_t>, _ event_count: UInt32) -> es_return_tParameters
- client:
The client to subscribe.
- events:
An array of event types to subscribe to.
- event_count:
The number of event types in the array.
Return Value
A value that indicates whether subscribing succeeded. ES_RETURN_ERROR indicates that the caller couldn’t reach the Endpoint Security subsystem or that the request was invalid.