Skip to content
Snippets Groups Projects
Commit 2f259962 authored by Stephan Bosch's avatar Stephan Bosch Committed by Timo Sirainen
Browse files

lib-sieve: sieve-storage - Add structural comments

parent f2b02f6b
No related branches found
No related tags found
No related merge requests found
......@@ -114,7 +114,7 @@ bool sieve_storage_class_exists(struct sieve_instance *svinst,
}
/*
* Storage instance
* Storage event
*/
static struct event *
......@@ -145,6 +145,10 @@ sieve_storage_create_driver_event(struct event *event_parent,
return event;
}
/*
* Storage options
*/
static const char *split_next_arg(const char *const **_args)
{
const char *const *args = *_args;
......@@ -281,6 +285,10 @@ sieve_storage_data_parse(struct sieve_storage *storage, const char *data,
return 0;
}
/*
* Storage instance
*/
int sieve_storage_alloc(struct sieve_instance *svinst, struct event *event,
const struct sieve_storage *storage_class,
const char *data, enum sieve_storage_flags flags,
......@@ -641,6 +649,10 @@ void sieve_storage_unref(struct sieve_storage **_storage)
pool_unref(&storage->pool);
}
/*
* Binary
*/
int sieve_storage_setup_bin_path(struct sieve_storage *storage, mode_t mode)
{
const char *bin_path = storage->bin_path;
......@@ -695,6 +707,10 @@ int sieve_storage_setup_bin_path(struct sieve_storage *storage, mode_t mode)
return -1;
}
/*
* Properties
*/
int sieve_storage_is_singular(struct sieve_storage *storage)
{
if (storage->v.is_singular == NULL)
......
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.