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
commitc2460100faec2708a3abe1e57017f53c525beccf (patch)
tree9dcc582f289d6b96a1eef7f776dd4a47fae6a92e /common
parent366867c5b8f4c42e57a5209628a79ad2e290a2bf (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