dovecot-2.0: Moved auth-client-interface.h to lib-auth/.

dovecot at dovecot.org dovecot at dovecot.org
Fri May 1 01:42:06 EEST 2009


details:   http://hg.dovecot.org/dovecot-2.0/rev/637b627efbf1
changeset: 9185:637b627efbf1
user:      Timo Sirainen <tss at iki.fi>
date:      Thu Apr 30 18:41:43 2009 -0400
description:
Moved auth-client-interface.h to lib-auth/.

diffstat:

5 files changed, 33 insertions(+), 32 deletions(-)
src/auth/Makefile.am                 |    2 +-
src/auth/auth-client-interface.h     |   30 ------------------------------
src/lib-auth/Makefile.am             |    1 +
src/lib-auth/auth-client-interface.h |   30 ++++++++++++++++++++++++++++++
src/lib-auth/auth-client.h           |    2 +-

diffs (110 lines):

diff -r afdeb38c338f -r 637b627efbf1 src/auth/Makefile.am
--- a/src/auth/Makefile.am	Thu Apr 30 18:01:23 2009 -0400
+++ b/src/auth/Makefile.am	Thu Apr 30 18:41:43 2009 -0400
@@ -19,6 +19,7 @@ pkglibexec_PROGRAMS = dovecot-auth check
 
 AM_CPPFLAGS = \
 	-I$(top_srcdir)/src/lib \
+	-I$(top_srcdir)/src/lib-auth \
 	-I$(top_srcdir)/src/lib-sql \
 	-I$(top_srcdir)/src/lib-settings \
 	-I$(top_srcdir)/src/lib-ntlm \
@@ -108,7 +109,6 @@ headers = \
 	auth.h \
 	auth-cache.h \
 	auth-client-connection.h \
-	auth-client-interface.h \
 	auth-master-interface.h \
 	auth-master-connection.h \
 	auth-request.h \
diff -r afdeb38c338f -r 637b627efbf1 src/auth/auth-client-interface.h
--- a/src/auth/auth-client-interface.h	Thu Apr 30 18:01:23 2009 -0400
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,30 +0,0 @@
-#ifndef AUTH_CLIENT_INTERFACE_H
-#define AUTH_CLIENT_INTERFACE_H
-
-/* Major version changes are not backwards compatible,
-   minor version numbers can be ignored. */
-#define AUTH_CLIENT_PROTOCOL_MAJOR_VERSION 1
-#define AUTH_CLIENT_PROTOCOL_MINOR_VERSION 0
-
-#define AUTH_CLIENT_MAX_LINE_LENGTH 8192
-/* Use a bit larger than login process timeout */
-#define AUTH_REQUEST_TIMEOUT (3*60 + 30)
-
-enum mech_security_flags {
-	/* Don't advertise this as available SASL mechanism (eg. APOP) */
-	MECH_SEC_PRIVATE		= 0x0001,
-	/* Anonymous authentication */
-	MECH_SEC_ANONYMOUS		= 0x0002,
-	/* Transfers plaintext passwords */
-	MECH_SEC_PLAINTEXT		= 0x0004,
-	/* Subject to passive (dictionary) attack */
-	MECH_SEC_DICTIONARY		= 0x0008,
-	/* Subject to active (non-dictionary) attack */
-	MECH_SEC_ACTIVE			= 0x0010,
-	/* Provides forward secrecy between sessions */
-	MECH_SEC_FORWARD_SECRECY	= 0x0020,
-	/* Provides mutual authentication */
-	MECH_SEC_MUTUAL_AUTH		= 0x0040
-};
-
-#endif
diff -r afdeb38c338f -r 637b627efbf1 src/lib-auth/Makefile.am
--- a/src/lib-auth/Makefile.am	Thu Apr 30 18:01:23 2009 -0400
+++ b/src/lib-auth/Makefile.am	Thu Apr 30 18:41:43 2009 -0400
@@ -11,6 +11,7 @@ libauth_la_SOURCES = \
 
 headers = \
 	auth-client.h \
+	auth-client-interface.h \
 	auth-master.h \
 	auth-server-connection.h \
 	auth-server-request.h
diff -r afdeb38c338f -r 637b627efbf1 src/lib-auth/auth-client-interface.h
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/src/lib-auth/auth-client-interface.h	Thu Apr 30 18:41:43 2009 -0400
@@ -0,0 +1,30 @@
+#ifndef AUTH_CLIENT_INTERFACE_H
+#define AUTH_CLIENT_INTERFACE_H
+
+/* Major version changes are not backwards compatible,
+   minor version numbers can be ignored. */
+#define AUTH_CLIENT_PROTOCOL_MAJOR_VERSION 1
+#define AUTH_CLIENT_PROTOCOL_MINOR_VERSION 0
+
+#define AUTH_CLIENT_MAX_LINE_LENGTH 8192
+/* Use a bit larger than login process timeout */
+#define AUTH_REQUEST_TIMEOUT (3*60 + 30)
+
+enum mech_security_flags {
+	/* Don't advertise this as available SASL mechanism (eg. APOP) */
+	MECH_SEC_PRIVATE		= 0x0001,
+	/* Anonymous authentication */
+	MECH_SEC_ANONYMOUS		= 0x0002,
+	/* Transfers plaintext passwords */
+	MECH_SEC_PLAINTEXT		= 0x0004,
+	/* Subject to passive (dictionary) attack */
+	MECH_SEC_DICTIONARY		= 0x0008,
+	/* Subject to active (non-dictionary) attack */
+	MECH_SEC_ACTIVE			= 0x0010,
+	/* Provides forward secrecy between sessions */
+	MECH_SEC_FORWARD_SECRECY	= 0x0020,
+	/* Provides mutual authentication */
+	MECH_SEC_MUTUAL_AUTH		= 0x0040
+};
+
+#endif
diff -r afdeb38c338f -r 637b627efbf1 src/lib-auth/auth-client.h
--- a/src/lib-auth/auth-client.h	Thu Apr 30 18:01:23 2009 -0400
+++ b/src/lib-auth/auth-client.h	Thu Apr 30 18:41:43 2009 -0400
@@ -2,7 +2,7 @@
 #define AUTH_CLIENT_H
 
 #include "network.h"
-#include "../auth/auth-client-interface.h"
+#include "auth-client-interface.h"
 
 struct auth_client;
 struct auth_request;


More information about the dovecot-cvs mailing list