~ubuntu-branches/ubuntu/quantal/dovecot/quantal

« back to all changes in this revision

Viewing changes to sieve/src/lib-sieve/sieve-script.h

  • Committer: Bazaar Package Importer
  • Author(s): Chuck Short, Scott Kitterman
  • Date: 2010-06-22 10:33:51 UTC
  • mfrom: (1.13.5 upstream)
  • Revision ID: james.westby@ubuntu.com-20100622103351-ifbmnklp8kxrhb30
Tags: 1:1.2.12-0ubuntu1
* New upstream release:
  - deliver: Don't crash when a message with Auto-submitted: header gets
   rejected.
  - lib-storage: Fixed header searches to work correctly when there are
    multiple headers with same name.
  - dict client: Disconnect from dict server after 1 second of idling.
  - dict: If process crashed, it wasn't automatically restarted
  - dict file: If dict file's group permissions equal world permissions,
    don't try to change its gid.
  - maildir: Fixed a memory leak when copying with hardlinks.
  - maildir: Expunging last messages may have assert-crashed if their
    filenames had just changed.
 * Update sieve patch to 0.1.17
 * debian/dovecot-common.postinst: Add warning about expired certificate.
   (Debian Bug: #576455)
 * Silence lintian warnings.

 [Scott Kitterman]
 * Rename dovecot-postfix to mail-stack-delivery per server-maverick-mail-
   integration spec.
   - Update debian/rules
   - Convert existing package to a dummy package and add new binary in debian/control
   - Update maintainer scripts.
   - Move previously installed backups and config files to new package name
     space in preinst
   - Add new debian/mail-stack-delivery.prerm to handle downgrades
   - Rename debian/dovecot-postfix.* to debian/mail-stack-delivery.*

Show diffs side-by-side

added added

removed removed

Lines of Context:
22
22
struct sieve_script;
23
23
 
24
24
struct sieve_script *sieve_script_create
25
 
        (struct sieve_instance *svinst, const char *path, const char *name,
 
25
        (struct sieve_instance *svinst, const char *path, const char *name, 
26
26
                struct sieve_error_handler *ehandler, bool *exists_r);
27
27
 
28
28
struct sieve_script *sieve_script_create_in_directory
35
35
/*
36
36
 * Filename filter
37
37
 */
38
 
 
 
38
 
39
39
bool sieve_script_file_has_extension(const char *filename);
40
40
 
41
41
/*
42
42
 * Accessors
43
43
 */
44
 
 
 
44
 
45
45
const char *sieve_script_name(const struct sieve_script *script);
46
46
const char *sieve_script_filename(const struct sieve_script *script);
47
47
const char *sieve_script_path(const struct sieve_script *script);
53
53
struct sieve_instance *sieve_script_svinst(const struct sieve_script *script);
54
54
size_t sieve_script_size(const struct sieve_script *script);
55
55
 
56
 
/*
57
 
 * Stream management
 
56
/* 
 
57
 * Stream management 
58
58
 */
59
59
 
60
60
struct istream *sieve_script_open(struct sieve_script *script, bool *deleted_r);
65
65
/*
66
66
 * Comparison
67
67
 */
68
 
 
 
68
 
69
69
int sieve_script_cmp
70
70
        (const struct sieve_script *script1, const struct sieve_script *script2);
71
71
unsigned int sieve_script_hash(const struct sieve_script *script);