view src/imap/imap-search.h @ 7086:7ed926ed7aa4 HEAD

Updated copyright notices to include year 2008.
author Timo Sirainen <tss@iki.fi>
date Tue, 01 Jan 2008 22:05:21 +0200
parents ae369569e7de
children 56f55bd35aa5
line wrap: on
line source

#ifndef IMAP_SEARCH_H
#define IMAP_SEARCH_H

struct imap_arg;
struct mailbox;
struct client_command_context;

/* Builds search arguments based on IMAP arguments. */
struct mail_search_arg *
imap_search_args_build(pool_t pool, struct mailbox *box,
		       const struct imap_arg *args, const char **error_r);
/* Free allocated keywords */
void imap_search_args_free(struct mailbox *box, struct mail_search_arg *args);

struct mail_search_arg *
imap_search_get_arg(struct client_command_context *cmd,
		    const char *set, bool uid);

#endif