dovecot-2.2: Renamed network.[ch] to net.[ch].

dovecot at dovecot.org dovecot at dovecot.org
Wed Oct 3 18:18:09 EEST 2012


details:   http://hg.dovecot.org/dovecot-2.2/rev/02451e967a06
changeset: 15187:02451e967a06
user:      Timo Sirainen <tss at iki.fi>
date:      Wed Oct 03 18:17:26 2012 +0300
description:
Renamed network.[ch] to net.[ch].
The function prefixes already started with net_ instead of network_.
And icecap wants to use network.h for other purpose. :)

diffstat:

 src/auth/auth-client-connection.c                  |     2 +-
 src/auth/auth-master-connection.c                  |     2 +-
 src/auth/auth-penalty.c                            |     2 +-
 src/auth/auth-postfix-connection.c                 |     2 +-
 src/auth/auth-request-handler.c                    |     2 +-
 src/auth/auth-request.h                            |     2 +-
 src/auth/auth-worker-client.c                      |     2 +-
 src/auth/auth-worker-server.c                      |     2 +-
 src/auth/db-ldap.c                                 |     2 +-
 src/auth/main.c                                    |     2 +-
 src/auth/passdb-pam.c                              |     2 +-
 src/config/config-filter.h                         |     2 +-
 src/config/settings-get.pl                         |     2 +-
 src/director/auth-connection.c                     |     2 +-
 src/director/director-connection.c                 |     2 +-
 src/director/director-host.h                       |     2 +-
 src/director/director.h                            |     2 +-
 src/director/doveadm-connection.c                  |     2 +-
 src/director/login-connection.c                    |     2 +-
 src/director/mail-host.h                           |     2 +-
 src/doveadm/doveadm-director.c                     |     2 +-
 src/doveadm/doveadm-kick.c                         |     2 +-
 src/doveadm/doveadm-mail-index.c                   |     2 +-
 src/doveadm/doveadm-penalty.c                      |     2 +-
 src/doveadm/doveadm-stats.c                        |     2 +-
 src/doveadm/doveadm-util.c                         |     2 +-
 src/doveadm/doveadm-who.c                          |     2 +-
 src/doveadm/server-connection.c                    |     2 +-
 src/imap-login/client-authenticate.c               |     2 +-
 src/imap-login/client.h                            |     2 +-
 src/imap-urlauth/imap-urlauth-client.c             |     2 +-
 src/imap-urlauth/imap-urlauth-login.c              |     2 +-
 src/imap-urlauth/imap-urlauth-worker.c             |     2 +-
 src/imap/cmd-idle.c                                |     2 +-
 src/imap/cmd-urlfetch.c                            |     2 +-
 src/imap/imap-client.c                             |     2 +-
 src/lib-auth/auth-client.h                         |     2 +-
 src/lib-auth/auth-master.c                         |     2 +-
 src/lib-auth/auth-master.h                         |     2 +-
 src/lib-auth/auth-server-connection.c              |     2 +-
 src/lib-dict/dict-client.c                         |     2 +-
 src/lib-dns/dns-lookup.c                           |     2 +-
 src/lib-imap-client/imapc-connection.c             |     2 +-
 src/lib-imap-storage/imap-msgpart-url.c            |     2 +-
 src/lib-imap-urlauth/imap-urlauth-connection.c     |     2 +-
 src/lib-imap-urlauth/imap-urlauth-fetch.c          |     2 +-
 src/lib-imap/imap-url.c                            |     2 +-
 src/lib-imap/test-imap-url.c                       |     2 +-
 src/lib-lda/lmtp-client.c                          |     2 +-
 src/lib-lda/lmtp-client.h                          |     2 +-
 src/lib-master/anvil-client.c                      |     2 +-
 src/lib-master/ipc-client.c                        |     2 +-
 src/lib-master/ipc-server.c                        |     2 +-
 src/lib-master/master-auth.h                       |     2 +-
 src/lib-master/master-login-auth.c                 |     2 +-
 src/lib-master/master-service-settings.h           |     2 +-
 src/lib-master/master-service.h                    |     2 +-
 src/lib-settings/settings-parser.c                 |     2 +-
 src/lib-storage/index/pop3c/pop3c-client.c         |     2 +-
 src/lib-storage/mail-storage-service.h             |     2 +-
 src/lib-storage/mail-user.c                        |     2 +-
 src/lib/Makefile.am                                |     4 +-
 src/lib/connection.c                               |     2 +-
 src/lib/connection.h                               |     2 +-
 src/lib/failures.c                                 |     2 +-
 src/lib/fd-close-on-exec.c                         |     2 +-
 src/lib/ioloop-notify-inotify.c                    |     2 +-
 src/lib/istream-file.c                             |     2 +-
 src/lib/net.c                                      |  1023 ++++++++++++++++++++
 src/lib/net.h                                      |   152 ++
 src/lib/network.c                                  |  1023 --------------------
 src/lib/network.h                                  |   152 --
 src/lib/ostream-file.c                             |     2 +-
 src/lib/sendfile-util.c                            |     2 +-
 src/lib/test-network.c                             |     2 +-
 src/lib/unix-socket-create.c                       |     2 +-
 src/lib/uri-util.c                                 |     2 +-
 src/lmtp/client.h                                  |     2 +-
 src/lmtp/lmtp-proxy.h                              |     2 +-
 src/login-common/access-lookup.c                   |     2 +-
 src/login-common/client-common.h                   |     2 +-
 src/login-common/login-proxy-state.c               |     2 +-
 src/login-common/login-proxy.h                     |     2 +-
 src/login-common/ssl-proxy-gnutls.c                |     2 +-
 src/login-common/ssl-proxy-openssl.c               |     2 +-
 src/master/master-settings.c                       |     2 +-
 src/master/service-listen.c                        |     2 +-
 src/master/service.h                               |     2 +-
 src/plugins/fts/fts-indexer.c                      |     2 +-
 src/plugins/fts/fts-parser-script.c                |     2 +-
 src/plugins/quota/quota.c                          |     2 +-
 src/plugins/replication/replication-plugin.c       |     2 +-
 src/plugins/stats/stats-connection.c               |     2 +-
 src/plugins/zlib/doveadm-zlib.c                    |     2 +-
 src/pop3-login/client.h                            |     2 +-
 src/pop3/pop3-client.c                             |     2 +-
 src/replication/aggregator/notify-connection.c     |     2 +-
 src/replication/aggregator/replicator-connection.c |     2 +-
 src/replication/replicator/doveadm-connection.c    |     2 +-
 src/stats/client-export.c                          |     2 +-
 src/stats/mail-stats.h                             |     2 +-
 src/util/rawlog.c                                  |     2 +-
 102 files changed, 1274 insertions(+), 1274 deletions(-)

diffs (truncated from 3551 to 300 lines):

diff -r 559718e321a2 -r 02451e967a06 src/auth/auth-client-connection.c
--- a/src/auth/auth-client-connection.c	Wed Oct 03 16:57:28 2012 +0300
+++ b/src/auth/auth-client-connection.c	Wed Oct 03 18:17:26 2012 +0300
@@ -4,7 +4,7 @@
 #include "ioloop.h"
 #include "istream.h"
 #include "ostream.h"
-#include "network.h"
+#include "net.h"
 #include "hex-binary.h"
 #include "hostpid.h"
 #include "llist.h"
diff -r 559718e321a2 -r 02451e967a06 src/auth/auth-master-connection.c
--- a/src/auth/auth-master-connection.c	Wed Oct 03 16:57:28 2012 +0300
+++ b/src/auth/auth-master-connection.c	Wed Oct 03 18:17:26 2012 +0300
@@ -10,7 +10,7 @@
 #include "hostpid.h"
 #include "hex-binary.h"
 #include "ioloop.h"
-#include "network.h"
+#include "net.h"
 #include "istream.h"
 #include "ostream.h"
 #include "ipwd.h"
diff -r 559718e321a2 -r 02451e967a06 src/auth/auth-penalty.c
--- a/src/auth/auth-penalty.c	Wed Oct 03 16:57:28 2012 +0300
+++ b/src/auth/auth-penalty.c	Wed Oct 03 18:17:26 2012 +0300
@@ -2,7 +2,7 @@
 
 #include "lib.h"
 #include "ioloop.h"
-#include "network.h"
+#include "net.h"
 #include "crc32.h"
 #include "master-service.h"
 #include "anvil-client.h"
diff -r 559718e321a2 -r 02451e967a06 src/auth/auth-postfix-connection.c
--- a/src/auth/auth-postfix-connection.c	Wed Oct 03 16:57:28 2012 +0300
+++ b/src/auth/auth-postfix-connection.c	Wed Oct 03 18:17:26 2012 +0300
@@ -2,7 +2,7 @@
 
 #include "auth-common.h"
 #include "ioloop.h"
-#include "network.h"
+#include "net.h"
 #include "istream.h"
 #include "ostream.h"
 #include "llist.h"
diff -r 559718e321a2 -r 02451e967a06 src/auth/auth-request-handler.c
--- a/src/auth/auth-request-handler.c	Wed Oct 03 16:57:28 2012 +0300
+++ b/src/auth/auth-request-handler.c	Wed Oct 03 18:17:26 2012 +0300
@@ -6,7 +6,7 @@
 #include "aqueue.h"
 #include "base64.h"
 #include "hash.h"
-#include "network.h"
+#include "net.h"
 #include "str.h"
 #include "str-sanitize.h"
 #include "master-interface.h"
diff -r 559718e321a2 -r 02451e967a06 src/auth/auth-request.h
--- a/src/auth/auth-request.h	Wed Oct 03 16:57:28 2012 +0300
+++ b/src/auth/auth-request.h	Wed Oct 03 18:17:26 2012 +0300
@@ -1,7 +1,7 @@
 #ifndef AUTH_REQUEST_H
 #define AUTH_REQUEST_H
 
-#include "network.h"
+#include "net.h"
 #include "var-expand.h"
 #include "mech.h"
 #include "userdb.h"
diff -r 559718e321a2 -r 02451e967a06 src/auth/auth-worker-client.c
--- a/src/auth/auth-worker-client.c	Wed Oct 03 16:57:28 2012 +0300
+++ b/src/auth/auth-worker-client.c	Wed Oct 03 18:17:26 2012 +0300
@@ -3,7 +3,7 @@
 #include "auth-common.h"
 #include "base64.h"
 #include "ioloop.h"
-#include "network.h"
+#include "net.h"
 #include "istream.h"
 #include "ostream.h"
 #include "hex-binary.h"
diff -r 559718e321a2 -r 02451e967a06 src/auth/auth-worker-server.c
--- a/src/auth/auth-worker-server.c	Wed Oct 03 16:57:28 2012 +0300
+++ b/src/auth/auth-worker-server.c	Wed Oct 03 18:17:26 2012 +0300
@@ -4,7 +4,7 @@
 #include "ioloop.h"
 #include "array.h"
 #include "aqueue.h"
-#include "network.h"
+#include "net.h"
 #include "istream.h"
 #include "ostream.h"
 #include "hex-binary.h"
diff -r 559718e321a2 -r 02451e967a06 src/auth/db-ldap.c
--- a/src/auth/db-ldap.c	Wed Oct 03 16:57:28 2012 +0300
+++ b/src/auth/db-ldap.c	Wed Oct 03 18:17:26 2012 +0300
@@ -4,7 +4,7 @@
 
 #if defined(BUILTIN_LDAP) || defined(PLUGIN_BUILD)
 
-#include "network.h"
+#include "net.h"
 #include "ioloop.h"
 #include "array.h"
 #include "hash.h"
diff -r 559718e321a2 -r 02451e967a06 src/auth/main.c
--- a/src/auth/main.c	Wed Oct 03 16:57:28 2012 +0300
+++ b/src/auth/main.c	Wed Oct 03 18:17:26 2012 +0300
@@ -3,7 +3,7 @@
 #include "auth-common.h"
 #include "array.h"
 #include "ioloop.h"
-#include "network.h"
+#include "net.h"
 #include "lib-signals.h"
 #include "restrict-access.h"
 #include "child-wait.h"
diff -r 559718e321a2 -r 02451e967a06 src/auth/passdb-pam.c
--- a/src/auth/passdb-pam.c	Wed Oct 03 16:57:28 2012 +0300
+++ b/src/auth/passdb-pam.c	Wed Oct 03 18:17:26 2012 +0300
@@ -15,7 +15,7 @@
 #include "lib-signals.h"
 #include "str.h"
 #include "var-expand.h"
-#include "network.h"
+#include "net.h"
 #include "safe-memset.h"
 #include "auth-cache.h"
 
diff -r 559718e321a2 -r 02451e967a06 src/config/config-filter.h
--- a/src/config/config-filter.h	Wed Oct 03 16:57:28 2012 +0300
+++ b/src/config/config-filter.h	Wed Oct 03 18:17:26 2012 +0300
@@ -1,7 +1,7 @@
 #ifndef CONFIG_FILTER_H
 #define CONFIG_FILTER_H
 
-#include "network.h"
+#include "net.h"
 
 struct master_service_settings_output;
 
diff -r 559718e321a2 -r 02451e967a06 src/config/settings-get.pl
--- a/src/config/settings-get.pl	Wed Oct 03 16:57:28 2012 +0300
+++ b/src/config/settings-get.pl	Wed Oct 03 18:17:26 2012 +0300
@@ -8,7 +8,7 @@
 print '#include "file-lock.h"'."\n";
 print '#include "fsync-mode.h"'."\n";
 print '#include "hash-format.h"'."\n";
-print '#include "network.h"'."\n";
+print '#include "net.h"'."\n";
 print '#include "unichar.h"'."\n";
 print '#include "settings-parser.h"'."\n";
 print '#include "all-settings.h"'."\n";
diff -r 559718e321a2 -r 02451e967a06 src/director/auth-connection.c
--- a/src/director/auth-connection.c	Wed Oct 03 16:57:28 2012 +0300
+++ b/src/director/auth-connection.c	Wed Oct 03 18:17:26 2012 +0300
@@ -4,7 +4,7 @@
 #include "ioloop.h"
 #include "istream.h"
 #include "ostream.h"
-#include "network.h"
+#include "net.h"
 #include "llist.h"
 #include "safe-memset.h"
 #include "auth-client-interface.h"
diff -r 559718e321a2 -r 02451e967a06 src/director/director-connection.c
--- a/src/director/director-connection.c	Wed Oct 03 16:57:28 2012 +0300
+++ b/src/director/director-connection.c	Wed Oct 03 18:17:26 2012 +0300
@@ -31,7 +31,7 @@
 #include "lib.h"
 #include "ioloop.h"
 #include "array.h"
-#include "network.h"
+#include "net.h"
 #include "istream.h"
 #include "ostream.h"
 #include "str.h"
diff -r 559718e321a2 -r 02451e967a06 src/director/director-host.h
--- a/src/director/director-host.h	Wed Oct 03 16:57:28 2012 +0300
+++ b/src/director/director-host.h	Wed Oct 03 18:17:26 2012 +0300
@@ -1,7 +1,7 @@
 #ifndef DIRECTOR_HOST_H
 #define DIRECTOR_HOST_H
 
-#include "network.h"
+#include "net.h"
 
 struct director;
 
diff -r 559718e321a2 -r 02451e967a06 src/director/director.h
--- a/src/director/director.h	Wed Oct 03 16:57:28 2012 +0300
+++ b/src/director/director.h	Wed Oct 03 18:17:26 2012 +0300
@@ -1,7 +1,7 @@
 #ifndef DIRECTOR_H
 #define DIRECTOR_H
 
-#include "network.h"
+#include "net.h"
 #include "director-settings.h"
 
 #define DIRECTOR_VERSION_NAME "director"
diff -r 559718e321a2 -r 02451e967a06 src/director/doveadm-connection.c
--- a/src/director/doveadm-connection.c	Wed Oct 03 16:57:28 2012 +0300
+++ b/src/director/doveadm-connection.c	Wed Oct 03 18:17:26 2012 +0300
@@ -2,7 +2,7 @@
 
 #include "lib.h"
 #include "ioloop.h"
-#include "network.h"
+#include "net.h"
 #include "istream.h"
 #include "ostream.h"
 #include "array.h"
diff -r 559718e321a2 -r 02451e967a06 src/director/login-connection.c
--- a/src/director/login-connection.c	Wed Oct 03 16:57:28 2012 +0300
+++ b/src/director/login-connection.c	Wed Oct 03 18:17:26 2012 +0300
@@ -2,7 +2,7 @@
 
 #include "lib.h"
 #include "ioloop.h"
-#include "network.h"
+#include "net.h"
 #include "ostream.h"
 #include "llist.h"
 #include "master-service.h"
diff -r 559718e321a2 -r 02451e967a06 src/director/mail-host.h
--- a/src/director/mail-host.h	Wed Oct 03 16:57:28 2012 +0300
+++ b/src/director/mail-host.h	Wed Oct 03 18:17:26 2012 +0300
@@ -1,7 +1,7 @@
 #ifndef MAIL_HOST_H
 #define MAIL_HOST_H
 
-#include "network.h"
+#include "net.h"
 
 struct mail_host_list;
 
diff -r 559718e321a2 -r 02451e967a06 src/doveadm/doveadm-director.c
--- a/src/doveadm/doveadm-director.c	Wed Oct 03 16:57:28 2012 +0300
+++ b/src/doveadm/doveadm-director.c	Wed Oct 03 18:17:26 2012 +0300
@@ -4,7 +4,7 @@
 #include "md5.h"
 #include "hash.h"
 #include "str.h"
-#include "network.h"
+#include "net.h"
 #include "istream.h"
 #include "write-full.h"
 #include "master-service.h"
diff -r 559718e321a2 -r 02451e967a06 src/doveadm/doveadm-kick.c
--- a/src/doveadm/doveadm-kick.c	Wed Oct 03 16:57:28 2012 +0300
+++ b/src/doveadm/doveadm-kick.c	Wed Oct 03 18:17:26 2012 +0300
@@ -2,7 +2,7 @@
 
 #include "lib.h"
 #include "array.h"
-#include "network.h"
+#include "net.h"
 #include "hash.h"
 #include "doveadm.h"
 #include "doveadm-who.h"
diff -r 559718e321a2 -r 02451e967a06 src/doveadm/doveadm-mail-index.c
--- a/src/doveadm/doveadm-mail-index.c	Wed Oct 03 16:57:28 2012 +0300
+++ b/src/doveadm/doveadm-mail-index.c	Wed Oct 03 18:17:26 2012 +0300
@@ -3,7 +3,7 @@
 #include "lib.h"
 #include "str.h"
 #include "strescape.h"
-#include "network.h"
+#include "net.h"
 #include "write-full.h"
 #include "mail-namespace.h"
 #include "mail-storage.h"
diff -r 559718e321a2 -r 02451e967a06 src/doveadm/doveadm-penalty.c
--- a/src/doveadm/doveadm-penalty.c	Wed Oct 03 16:57:28 2012 +0300
+++ b/src/doveadm/doveadm-penalty.c	Wed Oct 03 18:17:26 2012 +0300
@@ -2,7 +2,7 @@
 
 #include "lib.h"
 #include "array.h"
-#include "network.h"
+#include "net.h"
 #include "istream.h"
 #include "hash.h"
 #include "doveadm.h"
diff -r 559718e321a2 -r 02451e967a06 src/doveadm/doveadm-stats.c
--- a/src/doveadm/doveadm-stats.c	Wed Oct 03 16:57:28 2012 +0300
+++ b/src/doveadm/doveadm-stats.c	Wed Oct 03 18:17:26 2012 +0300
@@ -2,7 +2,7 @@
 
 #include "lib.h"
 #include "array.h"
-#include "network.h"
+#include "net.h"
 #include "ioloop.h"
 #include "istream.h"
 #include "hash.h"


More information about the dovecot-cvs mailing list