summaryrefslogtreecommitdiffabout
authorSergey Poznyakoff <gray@gnu.org.ua>2009-05-07 14:13:50 (GMT)
committer Sergey Poznyakoff <gray@gnu.org.ua>2009-05-07 14:13:50 (GMT)
commit45372de488b483f1b03ac79b58e87f629096a1db (patch) (side-by-side diff)
tree4b7bd5e44057a8f929de20ae1ec9e234d5e3e6b8
parent05a8bb0ca988f41f016420ffc7dde427e423c187 (diff)
downloadmailfromd-45372de488b483f1b03ac79b58e87f629096a1db.tar.gz
mailfromd-45372de488b483f1b03ac79b58e87f629096a1db.tar.bz2
Implement v6 negotiation on the server side.
* gacopyz/stagenames.c: New file. * gacopyz/Makefile.am (libgacopyz_a_SOURCES): Add stagenames.c. * gacopyz/gacopyz.c (gacopyz_context_loop): Free req_macros. (gacopyz_addrcpt_par): rename to gacopyz_add_rcpt_par. * gacopyz/gacopyz.h (SM_LM_VRS_MAJOR, SM_LM_VRS_MAJOR) (SM_LM_VRS_PLVL, GACOPYZ_SM_MKVER): New macros. (macro_index): Rename to gacopyz_stage. All uses updated. (smfi_version): New proto. (gacopyz_addrcpt_par): rename to gacopyz_add_rcpt_par. (gacopyz_stage_name): New declaration. (gacopyz_srv_get_required_macros): New proto. (gacopyz_srv_set_version, gacopyz_srv_set_protocol) (gacopyz_srv_set_actions): 2nd argument is unsigned long. * gacopyz/server.c (struct gacopyz_srv): New member req_macros. (gacopyz_srv_get_required_macros): New function. (gacopyz_srv_destroy): Free req_macros. (gacopyz_srv_negotiate): Read macros. * mfd/gram.y (milter_state_name): Removed. Use gacopyz_stage_name instead. * mtasim/mtasim.c: New options: --gacopyz-log, --milter-proto, --milter-acts. * doc/mtasim.texi, doc/mailfromd.texi: Update.
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--gacopyz/gacopyz.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gacopyz/gacopyz.c b/gacopyz/gacopyz.c
index e26f7e2..520a2bf 100644
--- a/gacopyz/gacopyz.c
+++ b/gacopyz/gacopyz.c
@@ -1496,3 +1496,3 @@ ctx_free(SMFICTX *ctx)
free(ctx->reply);
- clear_macros(&ctx, 0);
+ clear_macros(ctx, 0);
for (i = 0; i < gacopyz_stage_max; i++)

Return to:

Send suggestions and report system problems to the System administrator.