return event_last_passthrough;
}
+static struct event_passthrough *
+event_passthrough_inc_int(const char *key, intmax_t num)
+{
+ event_inc_int(last_passthrough_event(), key, num);
+ return event_last_passthrough;
+}
+
static struct event *event_passthrough_event(void)
{
struct event *event = last_passthrough_event();
event_passthrough_add_str,
event_passthrough_add_int,
event_passthrough_add_timeval,
+ event_passthrough_inc_int,
event_passthrough_event,
};
(*add_int)(const char *key, intmax_t num);
struct event_passthrough *
(*add_timeval)(const char *key, const struct timeval *tv);
+
+ struct event_passthrough *
+ (*inc_int)(const char *key, intmax_t num);
+
struct event *(*event)(void);
};