| Server IP : 176.32.38.42 / Your IP : 216.73.216.67 Web Server : LiteSpeed System : Linux ha006.mymail.zone 4.18.0-553.51.1.lve.1.el8.x86_64 #1 SMP Wed May 14 14:34:57 UTC 2025 x86_64 User : s1225329 ( 1835) PHP Version : 7.4.33 Disable Function : exec,system,passthru,shell_exec,proc_close,proc_open,dl,popen,show_source,posix_kill,posix_mkfifo,posix_getpwuid,posix_setpgid,posix_setsid,posix_setuid,posix_setgid,posix_seteuid,posix_setegid,posix_uname MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /usr/include/dovecot/ |
Upload File : |
#ifndef MAIL_SEARCH_MIME_BUILD_H
#define MAIL_SEARCH_MIME_BUILD_H
#include "mail-search.h"
#include "mail-search-build.h"
#include "mail-search-register.h"
#include "mail-search-mime.h"
struct mailbox;
struct mail_search_mime_build_context {
struct mail_search_build_context *ctx;
struct mail_search_mime_part *mime_part;
struct mail_search_mime_arg *parent;
};
/* Start building a new MIMPART search key. Use mail_search_mime_args_unref()
to free it. */
struct mail_search_mime_part *mail_search_mime_build_init(void);
/* Convert IMAP SEARCH command compatible parameters to
mail_search_mime_args. */
int mail_search_mime_build(struct mail_search_build_context *bctx,
struct mail_search_mime_part **mpart_r);
/* Add new search arg with given type. */
struct mail_search_mime_arg *
mail_search_mime_build_add(pool_t pool,
struct mail_search_mime_part *mpart,
enum mail_search_mime_arg_type type);
struct mail_search_mime_arg *
mail_search_mime_build_new(struct mail_search_mime_build_context *ctx,
enum mail_search_mime_arg_type type);
struct mail_search_mime_arg *
mail_search_mime_build_str(struct mail_search_mime_build_context *ctx,
enum mail_search_mime_arg_type type);
/* Returns 0 if arg is returned, -1 if error. */
int mail_search_mime_build_key(struct mail_search_mime_build_context *ctx,
struct mail_search_mime_arg *parent,
struct mail_search_mime_arg **arg_r);
#endif