Contents

es_mute_path_events(_:_:_:_:_:)

Suppresses a subset of events from executables that match a given path.

Declaration

func es_mute_path_events(_ client: OpaquePointer, _ path: UnsafePointer<CChar>, _ type: es_mute_path_type_t, _ events: UnsafePointer<es_event_type_t>, _ event_count: Int) -> es_return_t

Parameters

  • client:

    A previously-created client. If the call succeeds, this client no longer receives events that match the types in the events array from executables whose paths match path.

  • path:

    The path to mute. The client stops receiving events from executables whose paths match this string.

  • type:

    The type of the path argument, either a prefix or a literal path.

  • events:

    An array of event types to mute.

  • event_count:

    The number of members in the events array.

Return Value

A value that indicates whether the mute request succeeded or failed with an error.

Discussion

To mute all events from a path, use es_mute_path(_:_:_:).

See Also

Muting Events