~ubuntu-branches/ubuntu/wily/dovecot/wily

« back to all changes in this revision

Viewing changes to src/doveadm/dsync/dsync-brain.h

  • Committer: Package Import Robot
  • Author(s): Jelmer Vernooij
  • Date: 2015-05-24 15:01:19 UTC
  • mto: (4.1.53 sid)
  • mto: This revision was merged to the branch mainline in revision 102.
  • Revision ID: package-import@ubuntu.com-20150524150119-hsh6cbr1fqseapga
Tags: upstream-2.2.18
ImportĀ upstreamĀ versionĀ 2.2.18

Show diffs side-by-side

added added

removed removed

Lines of Context:
2
2
#define DSYNC_BRAIN_H
3
3
 
4
4
#include "guid.h"
 
5
#include "mail-error.h"
5
6
 
6
7
struct mail_namespace;
7
8
struct mail_user;
80
81
dsync_brain_slave_init(struct mail_user *user, struct dsync_ibc *ibc,
81
82
                       bool local, const char *process_title_prefix);
82
83
/* Returns 0 if everything was successful, -1 if syncing failed in some way */
83
 
int dsync_brain_deinit(struct dsync_brain **brain);
 
84
int dsync_brain_deinit(struct dsync_brain **brain, enum mail_error *error_r);
84
85
 
85
86
/* Returns TRUE if brain needs to run more, FALSE if it's finished.
86
87
   changed_r is TRUE if anything happened during this run. */