Function es_subscriptions

Source
pub unsafe extern "C" fn es_subscriptions(
    client: *mut es_client_t,
    count: *mut usize,
    subscriptions: *mut *mut es_event_type_t,
) -> es_return_t
Available on macOS only.
Expand description

List subscriptions

  • client: The client for which subscriptions will be listed
  • count: Out param that reports the number of subscriptions written
  • subscriptions: Out param for pointer to subscription data

The caller takes ownership of the memory at *subscriptions and must free it.