/*
 * heim_err.c:
 * This file is automatically generated; please do not edit it.
 */

#include <stdlib.h>

#define N_(a) a

static const char * const text[] = {
	N_("Error parsing log destination"),
	N_("Failed to convert v4 principal"),
	N_("Salt type is not supported by enctype"),
	N_("Host not found"),
	N_("Operation not supported"),
	N_("End of file"),
	N_("Failed to get the master key"),
	N_("Unacceptable service used"),
	N_("File descriptor not seekable"),
	N_("Offset too large"),
	N_("Invalid HDB entry encoding"),
	N_("No random source available"),
	N_("Reserved heim error (12)"),
	N_("Reserved heim error (13)"),
	N_("Reserved heim error (14)"),
	N_("Reserved heim error (15)"),
	N_("Reserved heim error (16)"),
	N_("Reserved heim error (17)"),
	N_("Reserved heim error (18)"),
	N_("Reserved heim error (19)"),
	N_("Reserved heim error (20)"),
	N_("Reserved heim error (21)"),
	N_("Reserved heim error (22)"),
	N_("Reserved heim error (23)"),
	N_("Reserved heim error (24)"),
	N_("Reserved heim error (25)"),
	N_("Reserved heim error (26)"),
	N_("Reserved heim error (27)"),
	N_("Reserved heim error (28)"),
	N_("Reserved heim error (29)"),
	N_("Reserved heim error (30)"),
	N_("Reserved heim error (31)"),
	N_("Reserved heim error (32)"),
	N_("Reserved heim error (33)"),
	N_("Reserved heim error (34)"),
	N_("Reserved heim error (35)"),
	N_("Reserved heim error (36)"),
	N_("Reserved heim error (37)"),
	N_("Reserved heim error (38)"),
	N_("Reserved heim error (39)"),
	N_("Reserved heim error (40)"),
	N_("Reserved heim error (41)"),
	N_("Reserved heim error (42)"),
	N_("Reserved heim error (43)"),
	N_("Reserved heim error (44)"),
	N_("Reserved heim error (45)"),
	N_("Reserved heim error (46)"),
	N_("Reserved heim error (47)"),
	N_("Reserved heim error (48)"),
	N_("Reserved heim error (49)"),
	N_("Reserved heim error (50)"),
	N_("Reserved heim error (51)"),
	N_("Reserved heim error (52)"),
	N_("Reserved heim error (53)"),
	N_("Reserved heim error (54)"),
	N_("Reserved heim error (55)"),
	N_("Reserved heim error (56)"),
	N_("Reserved heim error (57)"),
	N_("Reserved heim error (58)"),
	N_("Reserved heim error (59)"),
	N_("Reserved heim error (60)"),
	N_("Reserved heim error (61)"),
	N_("Reserved heim error (62)"),
	N_("Reserved heim error (63)"),
	N_("Certificate missing"),
	N_("Private key missing"),
	N_("No valid certificate authority"),
	N_("Certificate invalid"),
	N_("Private key invalid"),
	N_("Reserved heim error (69)"),
	N_("Reserved heim error (70)"),
	N_("Reserved heim error (71)"),
	N_("Reserved heim error (72)"),
	N_("Reserved heim error (73)"),
	N_("Reserved heim error (74)"),
	N_("Reserved heim error (75)"),
	N_("Reserved heim error (76)"),
	N_("Reserved heim error (77)"),
	N_("Reserved heim error (78)"),
	N_("Reserved heim error (79)"),
	N_("Reserved heim error (80)"),
	N_("Reserved heim error (81)"),
	N_("Reserved heim error (82)"),
	N_("Reserved heim error (83)"),
	N_("Reserved heim error (84)"),
	N_("Reserved heim error (85)"),
	N_("Reserved heim error (86)"),
	N_("Reserved heim error (87)"),
	N_("Reserved heim error (88)"),
	N_("Reserved heim error (89)"),
	N_("Reserved heim error (90)"),
	N_("Reserved heim error (91)"),
	N_("Reserved heim error (92)"),
	N_("Reserved heim error (93)"),
	N_("Reserved heim error (94)"),
	N_("Reserved heim error (95)"),
	N_("Reserved heim error (96)"),
	N_("Reserved heim error (97)"),
	N_("Reserved heim error (98)"),
	N_("Reserved heim error (99)"),
	N_("Reserved heim error (100)"),
	N_("Reserved heim error (101)"),
	N_("Reserved heim error (102)"),
	N_("Reserved heim error (103)"),
	N_("Reserved heim error (104)"),
	N_("Reserved heim error (105)"),
	N_("Reserved heim error (106)"),
	N_("Reserved heim error (107)"),
	N_("Reserved heim error (108)"),
	N_("Reserved heim error (109)"),
	N_("Reserved heim error (110)"),
	N_("Reserved heim error (111)"),
	N_("Reserved heim error (112)"),
	N_("Reserved heim error (113)"),
	N_("Reserved heim error (114)"),
	N_("Reserved heim error (115)"),
	N_("Reserved heim error (116)"),
	N_("Reserved heim error (117)"),
	N_("Reserved heim error (118)"),
	N_("Reserved heim error (119)"),
	N_("Reserved heim error (120)"),
	N_("Reserved heim error (121)"),
	N_("Reserved heim error (122)"),
	N_("Reserved heim error (123)"),
	N_("Reserved heim error (124)"),
	N_("Reserved heim error (125)"),
	N_("Reserved heim error (126)"),
	N_("Reserved heim error (127)"),
	N_("unknown error from getaddrinfo"),
	N_("address family for nodename not supported"),
	N_("temporary failure in name resolution"),
	N_("invalid value for ai_flags"),
	N_("non-recoverable failure in name resolution"),
	N_("ai_family not supported"),
	N_("memory allocation failure"),
	N_("no address associated with nodename"),
	N_("nodename nor servname provided, or not known"),
	N_("servname not supported for ai_socktype"),
	N_("ai_socktype not supported"),
	N_("system error returned in errno"),
	N_("Reserved heim error (140)"),
	N_("Reserved heim error (141)"),
	N_("Reserved heim error (142)"),
	N_("Reserved heim error (143)"),
	N_("Reserved heim error (144)"),
	N_("Reserved heim error (145)"),
	N_("Reserved heim error (146)"),
	N_("Reserved heim error (147)"),
	N_("Reserved heim error (148)"),
	N_("Reserved heim error (149)"),
	N_("Reserved heim error (150)"),
	N_("Reserved heim error (151)"),
	N_("Reserved heim error (152)"),
	N_("Reserved heim error (153)"),
	N_("Reserved heim error (154)"),
	N_("Reserved heim error (155)"),
	N_("Reserved heim error (156)"),
	N_("Reserved heim error (157)"),
	N_("Reserved heim error (158)"),
	N_("Reserved heim error (159)"),
	N_("Reserved heim error (160)"),
	N_("Reserved heim error (161)"),
	N_("Reserved heim error (162)"),
	N_("Reserved heim error (163)"),
	N_("Reserved heim error (164)"),
	N_("Reserved heim error (165)"),
	N_("Reserved heim error (166)"),
	N_("Reserved heim error (167)"),
	N_("Reserved heim error (168)"),
	N_("Reserved heim error (169)"),
	N_("Reserved heim error (170)"),
	N_("Reserved heim error (171)"),
	N_("Reserved heim error (172)"),
	N_("Reserved heim error (173)"),
	N_("Reserved heim error (174)"),
	N_("Reserved heim error (175)"),
	N_("Reserved heim error (176)"),
	N_("Reserved heim error (177)"),
	N_("Reserved heim error (178)"),
	N_("Reserved heim error (179)"),
	N_("Reserved heim error (180)"),
	N_("Reserved heim error (181)"),
	N_("Reserved heim error (182)"),
	N_("Reserved heim error (183)"),
	N_("Reserved heim error (184)"),
	N_("Reserved heim error (185)"),
	N_("Reserved heim error (186)"),
	N_("Reserved heim error (187)"),
	N_("Reserved heim error (188)"),
	N_("Reserved heim error (189)"),
	N_("Reserved heim error (190)"),
	N_("Reserved heim error (191)"),
	N_("connection refused"),
    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;

const struct error_table et_heim_error_table = { text, -1980176640L, 193 };

static struct et_list link = { 0, 0 };

void initialize_heim_error_table_r(struct et_list **list);
void initialize_heim_error_table(void);

void initialize_heim_error_table(void) {
    initialize_heim_error_table_r(&_et_list);
}

/* For Heimdal compatibility */
void initialize_heim_error_table_r(struct et_list **list)
{
    struct et_list *et, **end;

    for (end = list, et = *list; et; end = &et->next, et = et->next)
        if (et->table->msgs == text)
            return;
    et = malloc(sizeof(struct et_list));
    if (et == 0) {
        if (!link.table)
            et = &link;
        else
            return;
    }
    et->table = &et_heim_error_table;
    et->next = 0;
    *end = et;
}
