]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
lib: Rename event_send_callbacks() to event_call_callbacks()
authorTimo Sirainen <timo.sirainen@open-xchange.com>
Thu, 5 Sep 2019 08:52:05 +0000 (11:52 +0300)
committerTimo Sirainen <timo.sirainen@open-xchange.com>
Thu, 5 Sep 2019 13:29:28 +0000 (13:29 +0000)
src/lib/lib-event.c

index f7aaceefc2f8e53c47aae3fe2dd89aa4e61b5d78..b8545a045af87e034c9bcf0331f8e25ac26428f8 100644 (file)
@@ -55,7 +55,7 @@ static struct event_field *
 event_find_field_int(struct event *event, const char *key);
 
 static bool
-event_send_callbacks(struct event *event, enum event_callback_type type,
+event_call_callbacks(struct event *event, enum event_callback_type type,
                     struct failure_context *ctx, const char *fmt, va_list args)
 {
        event_callback_t *const *callbackp;
@@ -82,7 +82,7 @@ static void event_send_free(struct event *event, ...)
           to be any nice and standard way of passing an initialized va_list
           as a parameter without va_start(). */
        va_start(args, event);
-       (void)event_send_callbacks(event, EVENT_CALLBACK_TYPE_FREE,
+       (void)event_call_callbacks(event, EVENT_CALLBACK_TYPE_FREE,
                                   NULL, NULL, args);
        va_end(args);
 }
@@ -807,7 +807,7 @@ void event_vsend(struct event *event, struct failure_context *ctx,
 {
        if (gettimeofday(&event->tv_last_sent, NULL) < 0)
                i_panic("gettimeofday() failed: %m");
-       if (event_send_callbacks(event, EVENT_CALLBACK_TYPE_SEND,
+       if (event_call_callbacks(event, EVENT_CALLBACK_TYPE_SEND,
                                 ctx, fmt, args)) {
                if (ctx->type != LOG_TYPE_DEBUG ||
                    event->sending_debug_log)