Include <mailutils/mu_auth.h>
Showing
4 changed files
with
12 additions
and
10 deletions
... | @@ -57,6 +57,7 @@ | ... | @@ -57,6 +57,7 @@ |
57 | #include <mailutils/mutil.h> | 57 | #include <mailutils/mutil.h> |
58 | #include <mailutils/registrar.h> | 58 | #include <mailutils/registrar.h> |
59 | #include <mailutils/stream.h> | 59 | #include <mailutils/stream.h> |
60 | #include <mailutils/mu_auth.h> | ||
60 | 61 | ||
61 | #include <argcv.h> | 62 | #include <argcv.h> |
62 | 63 | ... | ... |
... | @@ -86,7 +86,7 @@ | ... | @@ -86,7 +86,7 @@ |
86 | #include <mailutils/parse822.h> | 86 | #include <mailutils/parse822.h> |
87 | #include <mailutils/registrar.h> | 87 | #include <mailutils/registrar.h> |
88 | #include <mailutils/stream.h> | 88 | #include <mailutils/stream.h> |
89 | 89 | #include <mailutils/mu_auth.h> | |
90 | 90 | ||
91 | #ifdef __cplusplus | 91 | #ifdef __cplusplus |
92 | extern "C" { | 92 | extern "C" { |
... | @@ -147,6 +147,7 @@ extern int state; | ... | @@ -147,6 +147,7 @@ extern int state; |
147 | extern volatile size_t children; | 147 | extern volatile size_t children; |
148 | extern int is_virtual; | 148 | extern int is_virtual; |
149 | extern struct daemon_param daemon_param; | 149 | extern struct daemon_param daemon_param; |
150 | extern struct mu_auth_data *auth_data; | ||
150 | 151 | ||
151 | #ifndef HAVE_STRTOK_R | 152 | #ifndef HAVE_STRTOK_R |
152 | extern char *strtok_r __P((char *s, const char *delim, char **save_ptr)); | 153 | extern char *strtok_r __P((char *s, const char *delim, char **save_ptr)); |
... | @@ -156,7 +157,7 @@ extern char *strtok_r __P((char *s, const char *delim, char **save_ptr)); | ... | @@ -156,7 +157,7 @@ extern char *strtok_r __P((char *s, const char *delim, char **save_ptr)); |
156 | extern int imap4d_append __P ((struct imap4d_command *, char *)); | 157 | extern int imap4d_append __P ((struct imap4d_command *, char *)); |
157 | extern int imap4d_append0 __P((mailbox_t mbox, int flags, char *text)); | 158 | extern int imap4d_append0 __P((mailbox_t mbox, int flags, char *text)); |
158 | extern int imap4d_authenticate __P ((struct imap4d_command *, char *)); | 159 | extern int imap4d_authenticate __P ((struct imap4d_command *, char *)); |
159 | extern int imap4d_auth_capability __P((void)); | 160 | extern void imap4d_auth_capability __P((void)); |
160 | extern int imap4d_capability __P ((struct imap4d_command *, char *)); | 161 | extern int imap4d_capability __P ((struct imap4d_command *, char *)); |
161 | extern int imap4d_check __P ((struct imap4d_command *, char *)); | 162 | extern int imap4d_check __P ((struct imap4d_command *, char *)); |
162 | extern int imap4d_close __P ((struct imap4d_command *, char *)); | 163 | extern int imap4d_close __P ((struct imap4d_command *, char *)); | ... | ... |
... | @@ -80,13 +80,10 @@ | ... | @@ -80,13 +80,10 @@ |
80 | #include <mailutils/registrar.h> | 80 | #include <mailutils/registrar.h> |
81 | #include <mailutils/stream.h> | 81 | #include <mailutils/stream.h> |
82 | #include <mailutils/url.h> | 82 | #include <mailutils/url.h> |
83 | #include <mailutils/mu_auth.h> | ||
83 | 84 | ||
84 | #include <mu_dbm.h> | 85 | #include <mu_dbm.h> |
85 | 86 | ||
86 | #ifdef HAVE_MYSQL | ||
87 | # include "../MySql/MySql.h" | ||
88 | #endif | ||
89 | |||
90 | /* Debug */ | 87 | /* Debug */ |
91 | extern int debug_level; | 88 | extern int debug_level; |
92 | #define dbg() if (debug_level) debug | 89 | #define dbg() if (debug_level) debug |
... | @@ -99,11 +96,12 @@ extern int debug_level; | ... | @@ -99,11 +96,12 @@ extern int debug_level; |
99 | extern char *quotadbname; | 96 | extern char *quotadbname; |
100 | extern int exit_code; | 97 | extern int exit_code; |
101 | 98 | ||
102 | extern void setgroupquota (char *str); | 99 | extern void setgroupquota __P((char *str)); |
103 | extern int check_quota (char *name, size_t size, size_t *rest); | 100 | extern int check_quota __P((char *name, size_t size, size_t *rest)); |
104 | 101 | ||
105 | int mda (FILE *fp, char *username); | 102 | int mda __P((FILE *fp, char *username)); |
106 | int switch_user_id (uid_t uid); | 103 | int switch_user_id __P((uid_t uid)); |
104 | void mailer_err __P((char *fmt, ...)); | ||
107 | 105 | ||
108 | #ifdef WITH_GUILE | 106 | #ifdef WITH_GUILE |
109 | struct mda_data | 107 | struct mda_data | ... | ... |
... | @@ -122,6 +122,7 @@ | ... | @@ -122,6 +122,7 @@ |
122 | #include <mailutils/mutil.h> | 122 | #include <mailutils/mutil.h> |
123 | #include <mailutils/registrar.h> | 123 | #include <mailutils/registrar.h> |
124 | #include <mailutils/url.h> | 124 | #include <mailutils/url.h> |
125 | #include <mailutils/mu_auth.h> | ||
125 | 126 | ||
126 | /* For Berkley DB2 APOP password file */ | 127 | /* For Berkley DB2 APOP password file */ |
127 | #ifdef HAVE_DB_H | 128 | #ifdef HAVE_DB_H |
... | @@ -174,6 +175,7 @@ extern FILE *ofile; | ... | @@ -174,6 +175,7 @@ extern FILE *ofile; |
174 | extern char *md5shared; | 175 | extern char *md5shared; |
175 | extern volatile size_t children; | 176 | extern volatile size_t children; |
176 | extern struct daemon_param daemon_param; | 177 | extern struct daemon_param daemon_param; |
178 | extern int debug_mode; | ||
177 | 179 | ||
178 | extern int pop3d_abquit __P ((int)); | 180 | extern int pop3d_abquit __P ((int)); |
179 | extern int pop3d_apop __P ((const char *)); | 181 | extern int pop3d_apop __P ((const char *)); | ... | ... |
-
Please register or sign in to post a comment