Commit b680ddd6 b680ddd691280cc64527470baf6aca0d3770192b by Sergey Poznyakoff

(argp_capa): Added "sieve" capability.

(main): Invoke mu_sieve_argp_init().
1 parent f486f514
...@@ -102,6 +102,7 @@ static const char *argp_capa[] = { ...@@ -102,6 +102,7 @@ static const char *argp_capa[] = {
102 "logging", 102 "logging",
103 "mailbox", 103 "mailbox",
104 "mailer", 104 "mailer",
105 "sieve",
105 NULL 106 NULL
106 }; 107 };
107 108
...@@ -275,6 +276,7 @@ main (int argc, char *argv[]) ...@@ -275,6 +276,7 @@ main (int argc, char *argv[])
275 276
276 mu_argp_error_code = EX_CONFIG; 277 mu_argp_error_code = EX_CONFIG;
277 MU_AUTH_REGISTER_ALL_MODULES(); 278 MU_AUTH_REGISTER_ALL_MODULES();
279 sieve_argp_init ();
278 mu_argp_parse (&argp, &argc, &argv, 0, argp_capa, &arg_index, NULL); 280 mu_argp_parse (&argp, &argc, &argv, 0, argp_capa, &arg_index, NULL);
279 281
280 openlog ("mail.local", LOG_PID, log_facility); 282 openlog ("mail.local", LOG_PID, log_facility);
......
...@@ -218,6 +218,7 @@ static const char *sieve_argp_capa[] = ...@@ -218,6 +218,7 @@ static const char *sieve_argp_capa[] =
218 "license", 218 "license",
219 "logging", 219 "logging",
220 "mailer", 220 "mailer",
221 "sieve",
221 NULL 222 NULL
222 }; 223 };
223 224
...@@ -304,6 +305,7 @@ main (int argc, char *argv[]) ...@@ -304,6 +305,7 @@ main (int argc, char *argv[])
304 struct options opts = {0}; 305 struct options opts = {0};
305 int (*debugfp) __P ((mu_debug_t, size_t level, const char *, va_list)); 306 int (*debugfp) __P ((mu_debug_t, size_t level, const char *, va_list));
306 307
308 sieve_argp_init ();
307 rc = mu_argp_parse (&argp, &argc, &argv, ARGP_IN_ORDER, sieve_argp_capa, 309 rc = mu_argp_parse (&argp, &argc, &argv, ARGP_IN_ORDER, sieve_argp_capa,
308 0, &opts); 310 0, &opts);
309 311
......