Defines | |
| #define | MAX_SCRIPTS 100 |
| #define | MAX_RULES 25 |
| #define | RULES_SCRIPT "__WebCit_Generated_Script__" |
Functions | |
| void | display_sieve (void) |
| view/edit sieve config | |
| void | osr_sanitize (char *str) |
| Helper function for output_sieve_rule() to output strings with quotes escaped. | |
| void | output_sieve_rule (char *hfield, char *compare, char *htext, char *sizecomp, int sizeval, char *action, char *fileinto, char *redirect, char *automsg, char *final) |
| Output parseable Sieve script code based on rules input. | |
| void | parse_fields_from_rule_editor (void) |
| Translate the fields from the rule editor into something we can save... | |
| void | save_sieve (void) |
| save sieve config | |
| void | display_add_remove_scripts (char *message) |
| show a list of available scripts to add/remove them | |
| void | delete_script (void) |
| delete a script | |
| void | create_script (void) |
| create a new script take the web environment script name and create it on the citadel server | |
| void | display_rules_editor_inner_div (void) |
1.5.2