Mercurial > dovecot > original-hg > dovecot-1.2
view src/imap/imap-search-args.h @ 9191:b340ecb24469 HEAD
Fix VPATH build of RQUOTA support.
Some rpcgen derive #include "..." paths from the infile argument.
This will be off for VPATH builds, as the generated rquota_xdr.c
code will look in $(srcdir), but we'll generate the rquota.h file in
$(builddir). Play safe and copy rquota.x to $(builddir) first.
This fixes the build on openSUSE 11.1.
author | Matthias Andree <matthias.andree@gmx.de> |
---|---|
date | Tue, 07 Jul 2009 21:01:36 +0200 |
parents | cc6ac9aefca5 |
children |
line wrap: on
line source
#ifndef IMAP_SEARCH_ARGS_H #define IMAP_SEARCH_ARGS_H #include "mail-search.h" struct imap_arg; struct mailbox; struct client_command_context; /* Builds search arguments based on IMAP arguments. Returns -1 if search arguments are invalid, 0 if we have to wait for unambiguity, 1 if we can continue. */ int imap_search_args_build(struct client_command_context *cmd, const struct imap_arg *args, const char *charset, struct mail_search_args **search_args_r); /* Returns -1 if set is invalid, 0 if we have to wait for unambiguity, 1 if we were successful. search_args_r is set to contain either a seqset or uidset. */ int imap_search_get_anyset(struct client_command_context *cmd, const char *set, bool uid, struct mail_search_args **search_args_r); /* Like imap_search_get_anyset(), but always returns a seqset. */ int imap_search_get_seqset(struct client_command_context *cmd, const char *set, bool uid, struct mail_search_args **search_args_r); #endif