/*
 * lib/krb5/error_tables/kdb5_err.c:
 * This file is automatically generated; please do not edit it.
 */
#if defined(__STDC__) || defined(_WINDOWS)
#define NOARGS void
#else
#define NOARGS
#define const
#endif

static const char * const text[] = {
	"$Id: kdb5_err.et,v 5.18 1995/11/03 21:52:42 eichin Exp $",
	"Entry already exists in database",
	"Database store error",
	"Database read error",
	"Insufficient access to perform requested operation",
	"No such entry in the database",
	"Illegal use of wildcard",
	"Database is locked or in use--try again later",
	"Database was modified during read",
	"Database record is incomplete or corrupted",
	"Attempt to lock database twice",
	"Attempt to unlock database when not locked",
	"Invalid kdb lock mode",
	"Database has not been initialized",
	"Database has already been initialized",
	"Bad direction for converting keys",
	"Cannot find master key record in database",
	"Master key does not match database",
	"Key size in database is invalid",
	"Cannot find/read stored master key",
	"Stored master key is corrupted",
	"Insufficient access to lock database",
	"Database format error",
	"Unsupported version in database entry",
	"Unsupported salt type",
	"Unsupported encryption type",
    0
};

struct error_table {
    char const * const * msgs;
    long base;
    int n_msgs;
};
struct et_list {
    struct et_list *next;
    const struct error_table * table;
};
extern struct et_list *_et_list;

static const struct error_table et = { text, -1780008448L, 26 };

static struct et_list link = { 0, 0 };

void initialize_kdb5_error_table (NOARGS) {
    if (!link.table) {
        link.next = _et_list;
        link.table = &et;
        _et_list = &link;
    }
}
