#include <lib-lib/mem.h>
#include <lib-hash/hash.h>
+#include <lib-lib/debug.h>
#include <lib-mime/mime.h>
#include "mx.h"
#include "lib.h"
-#include "lib/debug.h"
-
static struct header_cache {
#if defined(HAVE_QDBM)
VILLA *db;
*a = NULL;
}
-static unsigned char *dump_list (LIST * l, unsigned char *d, int *off)
+static unsigned char *dump_list (string_list_t * l, unsigned char *d, int *off)
{
unsigned int counter = 0;
unsigned int start_off = *off;
return d;
}
-static void restore_list (LIST ** l, const unsigned char *d, int *off)
+static void restore_list (string_list_t ** l, const unsigned char *d, int *off)
{
unsigned int counter;
restore_int (&counter, d, off);
while (counter) {
- *l = p_new(LIST, 1);
+ *l = p_new(string_list_t, 1);
restore_char (&(*l)->data, d, off);
l = &(*l)->next;
counter--;