Method
CamelFilterDriveradd_rule
Declaration [src]
void
camel_filter_driver_add_rule (
CamelFilterDriver* d,
const gchar* name,
const gchar* match,
const gchar* action
)
Parameters
name-
Type:
const gchar*Name of the rule.
The data is owned by the caller of the method. The value is a NUL terminated UTF-8 string. match-
Type:
const gchar*A code (
CamelSExp) to execute to check whether the rule can be applied.The data is owned by the caller of the method. The value is a NUL terminated UTF-8 string. action-
Type:
const gchar*An action code (
CamelSExp) to execute, when thematchevaluates toTRUE.The data is owned by the caller of the method. The value is a NUL terminated UTF-8 string.