aboutsummaryrefslogtreecommitdiff
path: root/src/main.c
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org>2020-07-03 17:22:19 +0300
committerSergey Poznyakoff <gray@gnu.org>2020-07-03 17:22:19 +0300
commita113a190cc7b5339e9d07904cd1cf8c2820a0e53 (patch)
treeb3fd118e67726f3cf16942acca65614bf1d36d3a /src/main.c
parent14e0558e6051671d9ebc8083467e021dfd81780a (diff)
downloadmailfromd-a113a190cc7b5339e9d07904cd1cf8c2820a0e53.tar.gz
mailfromd-a113a190cc7b5339e9d07904cd1cf8c2820a0e53.tar.bz2
Move MMQ from milter context to program evaluation environment.
* src/engine.c: (message_data): Remove mmq. Use env_msgmod functions to access it. All uses updated. (ctx_msgmod): Removed. (priv_store_msgmod_closure): Removed. (mlfi_eom): Use env_msgmod_count to check the size of the message modification queue and env_msgmod_apply to apply it. * src/mailfromd.h (env_msgmod): Rename to env_msgmod_append. (env_clear_msgmod): Rename to env_msgmod_clear. (env_msgmod_apply): New proto. * src/prog.c (ENVF_MSGMOD): Remove. (eval_environ) <flags,mmq>: Remove. (instr_result): Use env_msgmod_count to chech for mmq size. (env_clear_msgmod): Rewrite and rename to env_msgmod_clear. (env_msgmod): Rewrite and rename to env_msgmod_append. (env_msgmod_count): New function. (destroy_environment): Destroy env->mmq
Diffstat (limited to 'src/main.c')
0 files changed, 0 insertions, 0 deletions

Return to:

Send suggestions and report system problems to the System administrator.