mailbox-list.h revision 6bc5fed79741503437c6d46d9f282b66bd029c6b
0N/A /* maildir_name must always be empty */ 0N/A /* Mailboxes are files, not directories. */ 0N/A /* Internally used by lib-storage */ 0N/A /* Ignore index file and ACLs (used by ACL plugin internally) */ /* Use virtual mailbox names (virtual separators and namespace prefixes) for patterns and for returned mailbox names. */ /* For mailbox_list_iter_init_namespaces(): Skip namespaces that /* Don't list INBOX unless it actually exists */ /* List only subscribed mailboxes */ /* Return MAILBOX_CHILD_* if mailbox's children match selection criteria, even if the mailbox itself wouldn't match. */ /* Don't return any flags unless it can be done without cost */ /* Return MAILBOX_SUBSCRIBED flag */ /* Return children flags */ /* Return directory's path (eg. ~/dbox/INBOX) */ /* Return control directory */ /* Return index file directory */ const char *
layout;
/* FIXME: shouldn't be here */ const char *
alt_dir;
/* FIXME: dbox-specific.. */ /* If non-empty, it means that mails exist in a maildir_name subdirectory. eg. if you have a directory containing directories: If mailbox_name is empty, you have mailboxes "mail", "mail/foo" and If mailbox_name is "Maildir", you have a non-selectable mailbox "mail" and a selectable mailbox "mail/foo". */ this setting contains either "" or "dir/". */ /* register all drivers */ /* Returns 0 if ok, -1 if driver was unknown. */ /* Returns the mode and GID that should be used when creating new files to the specified mailbox, or to mailbox list root if name is NULL. (gid_t)-1 is returned if it's not necessary to change the default gid. */ /* Like mailbox_list_get_permissions(), but add execute-bits for mode if either read or write bit is set (e.g. 0640 -> 0750). */ /* Create path's parent directory with proper permissions. Since most directories are created lazily, this function can be used to easily create them whenever file creation fails with ENOENT. */ /* Returns TRUE if the name doesn't contain any invalid characters. The create name check can be more strict. */ /* Return full path for the given mailbox name. The name must be a valid existing mailbox name, or NULL to get the root directory. For INDEX=MEMORY it returns "" as the path. */ /* Returns mailbox name status */ /* Get 128bit mailbox directory GUID, creating it if necessary. */ /* Returns a prefix that temporary files should use without conflicting /* Returns prefix that's common to all get_temp_prefix() calls. Typically this returns either "temp." or ".temp.". */ /* Returns a single pattern from given reference and pattern. */ /* Initialize new mailbox list request. Pattern may contain '%' and '*' wildcards as defined by RFC-3501. */ /* Like mailbox_list_iter_init(), but support multiple patterns. Patterns is a NULL-terminated list of strings. It must contain at least one pattern. */ /* List mailbox_list_iter_init_multiple(), but list mailboxes from all the /* Get next mailbox. Returns the mailbox name */ /* Deinitialize mailbox list request. Returns -1 if some error occurred while listing. */ /* List one mailbox. Returns 1 if info returned, 0 if mailbox doesn't exist, subscribing to already subscribed mailbox. Subscribing to unexisting mailboxes is optional. */ /* Delete the given mailbox. If it has children, they aren't deleted. */ /* Rename mailbox. Renaming across different mailbox lists is possible only between private namespaces and storages of the same type. If the rename fails, the error is set to oldlist. */ /* Returns the error message of last occurred error. */