/*
 * etlucy.c:
 * This file is automatically generated; please do not edit it.
 */
#ifdef __STDC__
#define NOARGS void
#else
#define NOARGS
#define const
#endif

static const char * const text[] = {
	"Could not parse transaction",
	"Transaction not flagged for personal reply",
	"Transaction not flagged for posting",
	"Transaction not flagged for forwarding",
	"RPC: call succeeded",
	"RPC: can't encode arguments",
	"RPC: can't decode results",
	"RPC: failure in sending call",
	"RPC: failure in receiving result",
	"Try again later (server/network problem)",
	"RPC: rpc versions not compatible",
	"RPC: authentication error",
	"RPC: program not available",
	"RPC: program version mismatched",
	"RPC: procedure unavailable",
	"RPC: decode arguments error",
	"RPC: system error",
	"RPC: unknown host name",
	"RPC: the pmapper failed in its call",
	"Try again later (lucyd not running)",
	"RPC: failed",
    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, -1695059200L, 21 };

static struct et_list link = { 0, 0 };

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