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

lib-sieve: sieve-storage - Rename sieve_storage_event_create() and make it static

parent ff4a3230
No related branches found
No related tags found
No related merge requests found
......@@ -121,9 +121,6 @@ struct sieve_storage {
bool is_default:1;
};
struct event *
sieve_storage_event_create(struct sieve_instance *svinst,
const struct sieve_storage *storage_class);
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,
......
......@@ -115,8 +115,8 @@ sieve_storage_class_find(struct sieve_instance *svinst, const char *name)
* Storage instance
*/
struct event *
sieve_storage_event_create(struct sieve_instance *svinst,
static struct event *
sieve_storage_create_event(struct sieve_instance *svinst,
const struct sieve_storage *storage_class)
{
struct event *event;
......@@ -291,7 +291,7 @@ int sieve_storage_alloc(struct sieve_instance *svinst, struct event *event,
event_ref(storage->event);
} else {
storage->event =
sieve_storage_event_create(svinst, storage_class);
sieve_storage_create_event(svinst, storage_class);
}
*storage_r = storage;
......@@ -320,7 +320,7 @@ sieve_storage_init(struct sieve_instance *svinst,
i_assert(storage_class->v.init != NULL);
event = sieve_storage_event_create(svinst, storage_class);
event = sieve_storage_create_event(svinst, storage_class);
if ((flags & SIEVE_STORAGE_FLAG_SYNCHRONIZING) != 0 &&
!storage_class->allows_synchronization) {
......
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.