dict.c revision 28c75d59f1d1a7caeb85635964f3881c0038eb23
/* Copyright (C) 2005 Timo Sirainen */
#include "lib.h"
#include "array.h"
#include "dict-sql.h"
#include "dict-private.h"
static int dict_count = 0;
static void dict_class_register_all(void)
{
}
static void dict_class_unregister_all(void)
{
}
{
unsigned int i, count;
for (i = 0; i < count; i++) {
return dicts[i];
}
return NULL;
}
{
if (!array_is_created(&dict_classes))
i_fatal("dict_class_register(%s): Already registered",
dict_class->name);
}
}
{
unsigned int i, count;
for (i = 0; i < count; i++) {
if (dicts[i] == dict_class) {
break;
}
}
if (array_count(&dict_classes) == 0)
}
{
const char *p;
if (dict_count++ == 0)
if (p == NULL) {
return NULL;
}
t_push();
t_pop();
return NULL;
}
{
if (--dict_count == 0)
}
{
}
struct dict_iterate_context *
{
}
{
}
{
}
{
}
{
}
{
}
{
}
{
}