Function es_muted_processes

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

List muted processes

  • client: The client for which muted processes will be listed
  • count: Out param that reports the number of audit tokens written
  • audit_tokens: Out param for pointer to audit_token data

The caller takes ownership of the memory at *audit_tokens and must free it. If there are no muted processes and the call completes successfully, *count is set to 0 and *audit_token is set to NULL.

The audit tokens are returned in the same state as they were passed to es_mute_process() and may not accurately reflect the current state of the respective processes.