~ubuntu-branches/ubuntu/utopic/dovecot/utopic-proposed

« back to all changes in this revision

Viewing changes to src/imap/imap-commands-util.h

  • Committer: Package Import Robot
  • Author(s): James Page
  • Date: 2014-01-08 09:35:49 UTC
  • mfrom: (4.1.35 sid)
  • Revision ID: package-import@ubuntu.com-20140108093549-i72o93pux8p0dlaf
Tags: 1:2.2.9-1ubuntu1
* Merge from Debian unstable, remaining changes:
  + Add mail-stack-delivery package:
    - Update d/rules
    - d/control: convert existing dovecot-postfix package to a dummy
      package and add new mail-stack-delivery package.
    - Update maintainer scripts.
    - Rename d/dovecot-postfix.* to debian/mail-stack-delivery.*
    - d/mail-stack-delivery.preinst: Move previously installed backups and
      config files to a new package namespace.
    - d/mail-stack-delivery.prerm: Added to handle downgrades.
  + Use Snakeoil SSL certificates by default:
    - d/control: Depend on ssl-cert.
    - d/dovecot-core.postinst: Relax grep for SSL_* a bit.
  + Add autopkgtest to debian/tests/*.
  + Add ufw integration:
    - d/dovecot-core.ufw.profile: new ufw profile.
    - d/rules: install profile in dovecot-core.
    - d/control: dovecot-core - suggest ufw.
  + d/dovecot-core.dirs: Added usr/share/doc/dovecot-core
  + Add apport hook:
    - d/rules, d/source_dovecot.py
  + Add upstart job:
    - d/rules, d/dovecot-core.dovecot.upstart, d/control,
      d/dovecot-core.dirs, dovecot-imapd.{postrm, postinst, prerm},
      d/dovecot-pop3d.{postinst, postrm, prerm}.
      d/mail-stack-deliver.postinst: Convert init script to upstart.
  + Use the autotools-dev dh addon to update config.guess/config.sub for
    arm64.
* Dropped changes, included in Debian:
  - Update Dovecot name to reflect distribution in login greeting.
  - Update Drac plugin for >= 2.0.0 support.
* d/control: Drop dovecot-postfix package as its no longer required.

Show diffs side-by-side

added added

removed removed

Lines of Context:
13
13
   or mailbox name is invalid, sends a tagged NO reply to client. */
14
14
struct mail_namespace *
15
15
client_find_namespace(struct client_command_context *cmd, const char **mailbox);
 
16
struct mail_namespace *
 
17
client_find_namespace_full(struct client *client,
 
18
                           const char **mailbox, const char **error_r);
16
19
 
17
20
/* Returns TRUE if mailbox is selected. If not, sends "No mailbox selected"
18
21
   error message to client. */
49
52
void client_send_mailbox_flags(struct client *client, bool selecting);
50
53
/* Update client->keywords array. Use keywords=NULL when unselecting. */
51
54
void client_update_mailbox_flags(struct client *client,
52
 
                                 const ARRAY_TYPE(keywords) *keywords);
 
55
                                 const ARRAY_TYPE(keywords) *keywords)
 
56
        ATTR_NULL(2);
53
57
/* Convert keyword indexes to keyword names in selected mailbox. */
54
58
const char *const *
55
59
client_get_keyword_names(struct client *client, ARRAY_TYPE(keywords) *dest,
56
60
                         const ARRAY_TYPE(keyword_indexes) *src);
57
61
 
58
 
bool mailbox_equals(const struct mailbox *box1,
59
 
                    const struct mail_namespace *ns2,
60
 
                    const char *name2) ATTR_PURE;
61
 
 
62
62
void msgset_generator_init(struct msgset_generator_context *ctx, string_t *str);
63
63
void msgset_generator_next(struct msgset_generator_context *ctx, uint32_t uid);
64
64
void msgset_generator_finish(struct msgset_generator_context *ctx);