aboutsummaryrefslogtreecommitdiffstats
path: root/src/libserver/protocol.c
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2017-03-25 14:41:50 +0000
committerVsevolod Stakhov <vsevolod@highsecure.ru>2017-03-25 14:41:50 +0000
commite0223b51eec03f42bb1228ec495773952034a0ad (patch)
tree78f45d475c65a50009b9189b6ccbb9b39c294cda /src/libserver/protocol.c
parent9836fe5686a3e439655753930d2e4fb7decd3309 (diff)
downloadrspamd-e0223b51eec03f42bb1228ec495773952034a0ad.tar.gz
rspamd-e0223b51eec03f42bb1228ec495773952034a0ad.zip
[Minor] Remove some unused macros
Diffstat (limited to 'src/libserver/protocol.c')
-rw-r--r--src/libserver/protocol.c20
1 files changed, 0 insertions, 20 deletions
diff --git a/src/libserver/protocol.c b/src/libserver/protocol.c
index c1ed4fc9c..969ff3445 100644
--- a/src/libserver/protocol.c
+++ b/src/libserver/protocol.c
@@ -24,8 +24,6 @@
#include "unix-std.h"
#include <math.h>
-/* Max line size */
-#define OUTBUFSIZ BUFSIZ
/*
* Just check if the passed message is spam or not and reply as
* described below
@@ -57,34 +55,16 @@
* Process this message as described above and return modified message
*/
#define MSG_CMD_PROCESS "process"
-
-/*
- * Learn specified statfile using message
- */
-#define MSG_CMD_LEARN "learn"
-
-/*
- * spamassassin greeting:
- */
-#define SPAMC_GREETING "SPAMC"
-/*
- * rspamd greeting:
- */
-#define RSPAMC_GREETING "RSPAMC"
/*
* Headers
*/
-#define CONTENT_LENGTH_HEADER "Content-length"
#define HELO_HEADER "Helo"
#define FROM_HEADER "From"
#define IP_ADDR_HEADER "IP"
-#define NRCPT_HEADER "Recipient-Number"
#define RCPT_HEADER "Rcpt"
#define SUBJECT_HEADER "Subject"
#define SETTINGS_ID_HEADER "Settings-ID"
-#define STATFILE_HEADER "Statfile"
#define QUEUE_ID_HEADER "Queue-ID"
-#define ERROR_HEADER "Error"
#define USER_HEADER "User"
#define URLS_HEADER "URL-Format"
#define PASS_HEADER "Pass"