Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
John McEleney
/
mailutils
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
Commit
b680ddd6
...
b680ddd691280cc64527470baf6aca0d3770192b
authored
2002-12-10 07:32:14 +0000
by
Sergey Poznyakoff
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
(argp_capa): Added "sieve" capability.
(main): Invoke mu_sieve_argp_init().
1 parent
f486f514
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
0 deletions
mail.local/main.c
sieve/sieve.c
mail.local/main.c
View file @
b680ddd
...
...
@@ -102,6 +102,7 @@ static const char *argp_capa[] = {
"logging"
,
"mailbox"
,
"mailer"
,
"sieve"
,
NULL
};
...
...
@@ -275,6 +276,7 @@ main (int argc, char *argv[])
mu_argp_error_code
=
EX_CONFIG
;
MU_AUTH_REGISTER_ALL_MODULES
();
sieve_argp_init
();
mu_argp_parse
(
&
argp
,
&
argc
,
&
argv
,
0
,
argp_capa
,
&
arg_index
,
NULL
);
openlog
(
"mail.local"
,
LOG_PID
,
log_facility
);
...
...
sieve/sieve.c
View file @
b680ddd
...
...
@@ -218,6 +218,7 @@ static const char *sieve_argp_capa[] =
"license"
,
"logging"
,
"mailer"
,
"sieve"
,
NULL
};
...
...
@@ -304,6 +305,7 @@ main (int argc, char *argv[])
struct
options
opts
=
{
0
};
int
(
*
debugfp
)
__P
((
mu_debug_t
,
size_t
level
,
const
char
*
,
va_list
));
sieve_argp_init
();
rc
=
mu_argp_parse
(
&
argp
,
&
argc
,
&
argv
,
ARGP_IN_ORDER
,
sieve_argp_capa
,
0
,
&
opts
);
...
...
Please
register
or
sign in
to post a comment