diff options
author | Stef Walter <stef@memberwebs.com> | 2004-09-06 18:14:38 +0000 |
---|---|---|
committer | Stef Walter <stef@memberwebs.com> | 2004-09-06 18:14:38 +0000 |
commit | 5d7240b3bba30a278221f0e0e4a7ba5995200bf3 (patch) | |
tree | a76b7f45f1310cfb99292fc47dd7af82962a46d3 | |
parent | f4dfda197ba08bcec02c885a135b760b8b629662 (diff) |
Small initial changes
-rw-r--r-- | common/smtppass.c | 17 |
1 files changed, 3 insertions, 14 deletions
diff --git a/common/smtppass.c b/common/smtppass.c index aef9e23..d2c5f9c 100644 --- a/common/smtppass.c +++ b/common/smtppass.c @@ -59,19 +59,19 @@ #include "compat.h" #include "sock_any.h" -#include "clamsmtpd.h" +#include "smtppass.h" #include "util.h" /* ----------------------------------------------------------------------- * STRUCTURES */ -typedef struct clamsmtp_thread +typedef struct smtppass_thread { pthread_t tid; /* Written to by the main thread */ int fd; /* The file descriptor or -1 */ } -clamsmtp_thread_t; +smtppass_thread_t; /* ----------------------------------------------------------------------- * STRINGS @@ -117,17 +117,6 @@ clamsmtp_thread_t; #define OK_RSP "250" #define START_RSP "220" -#define CLAM_OK "OK" -#define CLAM_ERROR "ERROR" -#define CLAM_FOUND "FOUND" - -#define CONNECT_RSP "PONG" -#define CLAM_SCAN "SCAN " - -#define CLAM_CONNECT "SESSION\nPING\n" -#define CLAM_DISCONNECT "END\n" - -#define DEFAULT_CONFIG CONF_PREFIX "/clamsmtpd.conf" /* ----------------------------------------------------------------------- * GLOBALS |