/***************************************************************************
 *   copyright           : (C) 2004 by Hendrik Sattler                     *
 *   mail                : post@hendrik-sattler.de                         *
 *                                                                         *
 *   This program is free software; you can redistribute it and/or modify  *
 *   it under the terms of the GNU General Public License as published by  *
 *   the Free Software Foundation; either version 2 of the License, or     *
 *   (at your option) any later version.                                   *
 *                                                                         *
 ***************************************************************************/

#include "charsets.h"

#define PBOOK_FILE_CACHENAME "cache.pb"

struct pbook_entry {
  unsigned int slot;
  char* number;
  ucs4char_t* text;
};

struct pbook_entry** pbook_file_read (char* file);
int pbook_file_write (char* file, struct pbook_entry** entries);
