]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
lib-mstp: smtp-server-recipient - Make smtp_server_recipient_call_hooks() private...
authorStephan Bosch <stephan.bosch@dovecot.fi>
Sat, 16 Mar 2019 14:20:22 +0000 (15:20 +0100)
committerStephan Bosch <stephan.bosch@dovecot.fi>
Tue, 19 Mar 2019 12:31:20 +0000 (13:31 +0100)
src/lib-smtp/smtp-server-private.h
src/lib-smtp/smtp-server-recipient.c

index bae80a4bfbcfb3da9a142aa0cba966e7a4df2560..cdc2c719c316998a0790814c731c27b0a725dd12 100644 (file)
@@ -385,6 +385,10 @@ void smtp_server_recipient_reset(struct smtp_server_recipient *rcpt);
 void smtp_server_recipient_finished(struct smtp_server_recipient *rcpt,
                                    const struct smtp_server_reply *reply);
 
+bool smtp_server_recipient_call_hooks(
+       struct smtp_server_recipient **_rcpt,
+       enum smtp_server_recipient_hook_type type);
+
 /*
  * Transaction
  */
index 9bb77d2044a8cb44a06986321540ba73ac6a520e..904d79f530eff4bbf8fe6cf2df6f6005d9a2e4d4 100644 (file)
@@ -6,10 +6,6 @@
 
 #include "smtp-server-private.h"
 
-static bool
-smtp_server_recipient_call_hooks(struct smtp_server_recipient **_rcpt,
-                                enum smtp_server_recipient_hook_type type);
-
 static void
 smtp_server_recipient_update_event(struct smtp_server_recipient_private *prcpt)
 {
@@ -262,9 +258,9 @@ void smtp_server_recipient_remove_hook(
        i_assert(found);
 }
 
-static bool
-smtp_server_recipient_call_hooks(struct smtp_server_recipient **_rcpt,
-                                enum smtp_server_recipient_hook_type type)
+bool smtp_server_recipient_call_hooks(
+       struct smtp_server_recipient **_rcpt,
+       enum smtp_server_recipient_hook_type type)
 {
        struct smtp_server_recipient *rcpt = *_rcpt;
        struct smtp_server_recipient_private *prcpt =