fts-filter.c revision 1d0f568e26ce5cbf18cd7bb335c6eea20a7e3770
/* Copyright (c) 2014-2015 Dovecot authors, see the included COPYING file */
#include "lib.h"
#include "array.h"
#include "fts-language.h"
#include "fts-filter.h"
#include "fts-filter-private.h"
void fts_filters_init(void)
{
}
void fts_filters_deinit(void)
{
}
{
}
{
return fp;
}
return NULL;
}
struct fts_filter *parent,
const struct fts_language *lang,
const char *const *settings,
struct fts_filter **filter_r,
const char **error_r)
{
struct fts_filter *fp;
const char *empty_settings = NULL;
return -1;
}
}
return 0;
}
{
}
{
return;
}
/* TODO: Avoid multiple allocations by using a buffer in v->filter?
Do this non-recursively? */
int
const char **error_r)
{
int ret = 0;
return -1;
}
/* Recurse to parent. */
/* Parent returned token or no parent. */
return ret;
}