Function cmb_event_pattern_count

Function Documentation

uint64_t cmb_event_pattern_count(cmb_event_func *action, const void *subject, const void *object)

Count the number of scheduled events matching the search pattern.

Parameters:
  • action – Pointer to the event function to find, or CMB_ANY_ACTION

  • subject – Pointer to the subject to find, or CMB_ANY_SUBJECT

  • object – Pointer to the object to find, or CMB_ANY_OBJECT

Returns:

The number of events matching the search pattern, possibly zero.