git://git.exim.org
/
exim.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
DSCP: document; hex print; -bI:dscp
[exim.git]
/
src
/
src
/
exim.c
diff --git
a/src/src/exim.c
b/src/src/exim.c
index 9f6f3d8c3a301114e182dfe74e73393c0f9c3291..d20f938e6d478fb72b12e6c00c3f4c98a1a1e90e 100644
(file)
--- a/
src/src/exim.c
+++ b/
src/src/exim.c
@@
-57,7
+57,7
@@
store_free(block);
*************************************************/
enum commandline_info { CMDINFO_NONE=0,
*************************************************/
enum commandline_info { CMDINFO_NONE=0,
- CMDINFO_HELP, CMDINFO_SIEVE };
+ CMDINFO_HELP, CMDINFO_SIEVE
, CMDINFO_DSCP
};
@@
-1044,6
+1044,7
@@
switch(request)
"If the string is not recognised, you'll get this help (on stderr).\n"
"\n"
" exim -bI:help this information\n"
"If the string is not recognised, you'll get this help (on stderr).\n"
"\n"
" exim -bI:help this information\n"
+" exim -bI:dscp dscp value keywords known\n"
" exim -bI:sieve list of supported sieve extensions, one per line.\n"
);
return;
" exim -bI:sieve list of supported sieve extensions, one per line.\n"
);
return;
@@
-1051,7
+1052,9
@@
switch(request)
for (pp = exim_sieve_extension_list; *pp; ++pp)
fprintf(stream, "%s\n", *pp);
return;
for (pp = exim_sieve_extension_list; *pp; ++pp)
fprintf(stream, "%s\n", *pp);
return;
-
+ case CMDINFO_DSCP:
+ dscp_list_to_stream(stream);
+ return;
}
}
}
}
@@
-1987,6
+1990,11
@@
for (i = 1; i < argc; i++)
info_flag = CMDINFO_SIEVE;
info_stdout = TRUE;
}
info_flag = CMDINFO_SIEVE;
info_stdout = TRUE;
}
+ else if (strcmpic(p, CUS"dscp") == 0)
+ {
+ info_flag = CMDINFO_DSCP;
+ info_stdout = TRUE;
+ }
else if (strcmpic(p, CUS"help") == 0)
{
info_stdout = TRUE;
else if (strcmpic(p, CUS"help") == 0)
{
info_stdout = TRUE;