summaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorStef Walter <stef@memberwebs.com>2004-09-06 18:14:38 +0000
committerStef Walter <stef@memberwebs.com>2004-09-06 18:14:38 +0000
commit5d7240b3bba30a278221f0e0e4a7ba5995200bf3 (patch)
treea76b7f45f1310cfb99292fc47dd7af82962a46d3 /common
parentf4dfda197ba08bcec02c885a135b760b8b629662 (diff)
Small initial changes
Diffstat (limited to 'common')
-rw-r--r--common/smtppass.c17
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