80 |
#include <mailutils/registrar.h> |
#include <mailutils/registrar.h> |
81 |
#include <mailutils/stream.h> |
#include <mailutils/stream.h> |
82 |
#include <mailutils/url.h> |
#include <mailutils/url.h> |
83 |
|
#include <mailutils/mu_auth.h> |
84 |
|
|
85 |
#include <mu_dbm.h> |
#include <mu_dbm.h> |
86 |
|
|
|
#ifdef HAVE_MYSQL |
|
|
# include "../MySql/MySql.h" |
|
|
#endif |
|
|
|
|
87 |
/* Debug */ |
/* Debug */ |
88 |
extern int debug_level; |
extern int debug_level; |
89 |
#define dbg() if (debug_level) debug |
#define dbg() if (debug_level) debug |
96 |
extern char *quotadbname; |
extern char *quotadbname; |
97 |
extern int exit_code; |
extern int exit_code; |
98 |
|
|
99 |
extern void setgroupquota (char *str); |
extern void setgroupquota __P((char *str)); |
100 |
extern int check_quota (char *name, size_t size, size_t *rest); |
extern int check_quota __P((char *name, size_t size, size_t *rest)); |
101 |
|
|
102 |
int mda (FILE *fp, char *username); |
int mda __P((FILE *fp, char *username)); |
103 |
int switch_user_id (uid_t uid); |
int switch_user_id __P((uid_t uid)); |
104 |
|
void mailer_err __P((char *fmt, ...)); |
105 |
|
|
106 |
#ifdef WITH_GUILE |
#ifdef WITH_GUILE |
107 |
struct mda_data |
struct mda_data |