Skip to content
Snippets Groups Projects
Commit 2998ab7e authored by Stephan Bosch's avatar Stephan Bosch
Browse files

lib-sieve: variables extension: Add sieve_variables_get_max_variable_size() to public API.

parent daf4a721
No related branches found
No related tags found
No related merge requests found
......@@ -39,6 +39,15 @@ sieve_variables_get_max_scope_size(const struct sieve_extension *var_ext)
return config->max_scope_size;
}
size_t
sieve_variables_get_max_variable_size(const struct sieve_extension *var_ext)
{
const struct ext_variables_config *config =
ext_variables_get_config(var_ext);
return config->max_variable_size;
}
/*
* Extension configuration
*/
......
......@@ -17,6 +17,8 @@
unsigned int
sieve_variables_get_max_scope_size(const struct sieve_extension *var_ext);
size_t
sieve_variables_get_max_variable_size(const struct sieve_extension *var_ext);
/*
* Variable extension
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment

Consent

On this website, we use the web analytics service Matomo to analyze and review the use of our website. Through the collected statistics, we can improve our offerings and make them more appealing for you. Here, you can decide whether to allow us to process your data and set corresponding cookies for these purposes, in addition to technically necessary cookies. Further information on data protection—especially regarding "cookies" and "Matomo"—can be found in our privacy policy. You can withdraw your consent at any time.