/* Copyright (c) 2015-2018 Dovecot authors, see the included COPYING file */
#include "lib.h"
#include "buffer.h"
#include "str.h"
#include "guid.h"
#include "hex-binary.h"
#include "base64.h"
#include "istream.h"
#include "ostream.h"
#include "dict.h"
#include "fs-api-private.h"
enum fs_dict_value_encoding {
};
struct dict_fs {
char *path_prefix;
};
struct dict_fs_file {
};
struct dict_fs_iter {
};
{
}
static int
{
if (p == NULL) {
return -1;
}
else {
return -1;
}
return -1;
}
return 0;
}
{
}
{
return FS_PROPERTY_ITER | FS_PROPERTY_RELIABLEITER;
}
{
}
static void
{
if (mode != FS_OPEN_MODE_CREATE_UNIQUE_128)
else {
}
}
{
}
{
/* once async dict_lookup() is implemented, we want to start it here */
return TRUE;
}
{
const char *error;
int ret;
return 0;
if (ret > 0)
return 0;
else if (ret < 0) {
return -1;
} else {
return -1;
}
}
static struct istream *
{
if (fs_dict_lookup(file) < 0)
else
return input;
}
{
}
{
const char *new_fname;
return;
}
{
const char *error;
if (!success)
return -1;
break;
case FS_DICT_VALUE_ENCODING_HEX: {
break;
}
case FS_DICT_VALUE_ENCODING_BASE64: {
}
}
return -1;
}
return 1;
}
{
if (fs_dict_lookup(file) < 0)
return -1;
return 0;
}
{
const char *error;
return -1;
}
return 0;
}
{
}
static void
{
}
{
return NULL;
return key;
}
{
const char *error;
int ret;
if (ret < 0)
return ret;
}
.name = "dict",
.v = {
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
}
};