1
/* Copyright (c) 2002-2009 Dovecot Sieve authors, see the included COPYING file
4
#ifndef __SIEVE_STORAGE_LIST_H
5
#define __SIEVE_STORAGE_LIST_H
9
#include "sieve-storage.h"
16
struct sieve_list_context;
18
/* Create a context for listing the scripts in the storage */
19
struct sieve_list_context *sieve_storage_list_init
20
(struct sieve_storage *storage);
22
/* Get the next script in the storage. */
23
const char *sieve_storage_list_next(struct sieve_list_context *ctx, bool *active);
25
/* Destroy the listing context */
26
int sieve_storage_list_deinit(struct sieve_list_context **ctx);