/usr/include/dovecot/sieve/sieve-script-file.h is in dovecot-dev 1:2.2.9-1ubuntu2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 | /* Copyright (c) 2002-2013 Pigeonhole authors, see the included COPYING file
*/
#ifndef __SIEVE_SCRIPT_FILE_H
#define __SIEVE_SCRIPT_FILE_H
/*
* Sieve script filenames
*/
bool sieve_scriptfile_has_extension(const char *filename);
const char *sieve_scriptfile_get_script_name(const char *filename);
const char *sieve_scriptfile_from_name(const char *name);
/*
* File script specific functions
*/
/* Return directory where script resides in. Returns NULL if this is not a file
* script.
*/
const char *sieve_file_script_get_dirpath
(const struct sieve_script *script);
/* Return full path to file script. Returns NULL if this is not a file script.
*/
const char *sieve_file_script_get_path
(const struct sieve_script *script);
#endif /* __SIEVE_SCRIPT_FILE_H */
|