-struct agent_event *agent_find_event(const char *name, int loglevel,
- struct agent *agt);
-struct agent_event *agent_find_event_by_name(const char *name,
- struct agent *agt);
+struct agent_event *agent_find_event(const char *name,
+ enum lttng_loglevel_type loglevel_type, int loglevel_value,
+ char *filter_expression, struct agent *agt);
+void agent_find_events_by_name(const char *name, struct agent *agt,
+ struct lttng_ht_iter* iter);
+void agent_event_next_duplicate(const char *name,
+ struct agent *agt, struct lttng_ht_iter* iter);