]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
lib: connection - Make connection_update_properties() public.
authorStephan Bosch <stephan.bosch@open-xchange.com>
Fri, 1 Oct 2021 22:26:28 +0000 (00:26 +0200)
committertimo.sirainen <timo.sirainen@open-xchange.com>
Wed, 6 Oct 2021 21:58:03 +0000 (21:58 +0000)
src/lib/connection.c
src/lib/connection.h

index 15f0deaf79936cb08f8aa84de8037d53ca2b0c3a..e73eabe0851a769ce0a43059e752ef0b49966205 100644 (file)
@@ -383,7 +383,7 @@ void connection_update_event(struct connection *conn)
                event_add_int(conn->event, "remote_uid", conn->remote_uid);
 }
 
-static void connection_update_properties(struct connection *conn)
+void connection_update_properties(struct connection *conn)
 {
        int fd = (conn->fd_in < 0 ? conn->fd_out : conn->fd_in);
        struct net_unix_cred cred;
index 87aaa5d477b6ca02959fb1ecf5a06928515c16ca..2dafacc053742681e4a82d94ba2197c0a744a521 100644 (file)
@@ -216,6 +216,9 @@ void connection_input_resume(struct connection *conn);
 /* Update event fields and log prefix based on connection properties. */
 void connection_update_event(struct connection *conn);
 
+/* Update connection properties and labels */
+void connection_update_properties(struct connection *conn);
+
 /* This needs to be called if the input/output streams are changed */
 void connection_streams_changed(struct connection *conn);