/*
 * ntlm_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_("Failed to decode packet"),
	N_("Input length invalid"),
	N_("Failed crypto primitive"),
	N_("Random generator failed"),
	N_("NTLM authentication failed"),
	N_("Client time skewed to server"),
	N_("Client set OEM string"),
	N_("missing @ or \\\\ in name"),
	N_("missing expected buffer"),
	N_("Invalid APOP response"),
	N_("Invalid CRAM-MD5 response"),
	N_("Invalid DIGEST-MD5 response"),
	N_("Invalid DIGEST-MD5 rspauth"),
	N_("Invalid channel bindings"),
	N_("Invalid MIC"),
	N_("Invalid session key"),
	N_("Reserved ntlm error (16)"),
	N_("Reserved ntlm error (17)"),
	N_("Reserved ntlm error (18)"),
	N_("Reserved ntlm error (19)"),
	N_("Reserved ntlm error (20)"),
	N_("Reserved ntlm error (21)"),
	N_("Reserved ntlm error (22)"),
	N_("Reserved ntlm error (23)"),
	N_("Reserved ntlm error (24)"),
	N_("Reserved ntlm error (25)"),
	N_("Reserved ntlm error (26)"),
	N_("Reserved ntlm error (27)"),
	N_("Reserved ntlm error (28)"),
	N_("Reserved ntlm error (29)"),
	N_("Reserved ntlm error (30)"),
	N_("Reserved ntlm error (31)"),
	N_("Reserved ntlm error (32)"),
	N_("Reserved ntlm error (33)"),
	N_("Reserved ntlm error (34)"),
	N_("Reserved ntlm error (35)"),
	N_("Reserved ntlm error (36)"),
	N_("Reserved ntlm error (37)"),
	N_("Reserved ntlm error (38)"),
	N_("Reserved ntlm error (39)"),
	N_("Reserved ntlm error (40)"),
	N_("Reserved ntlm error (41)"),
	N_("Reserved ntlm error (42)"),
	N_("Reserved ntlm error (43)"),
	N_("Reserved ntlm error (44)"),
	N_("Reserved ntlm error (45)"),
	N_("Reserved ntlm error (46)"),
	N_("Reserved ntlm error (47)"),
	N_("Reserved ntlm error (48)"),
	N_("Reserved ntlm error (49)"),
	N_("Reserved ntlm error (50)"),
	N_("Reserved ntlm error (51)"),
	N_("Reserved ntlm error (52)"),
	N_("Reserved ntlm error (53)"),
	N_("Reserved ntlm error (54)"),
	N_("Reserved ntlm error (55)"),
	N_("Reserved ntlm error (56)"),
	N_("Reserved ntlm error (57)"),
	N_("Reserved ntlm error (58)"),
	N_("Reserved ntlm error (59)"),
	N_("Reserved ntlm error (60)"),
	N_("Reserved ntlm error (61)"),
	N_("Reserved ntlm error (62)"),
	N_("Reserved ntlm error (63)"),
	N_("NTLM not configured"),
	N_("Invalid client challenge"),
	N_("Invalid client NT response"),
	N_("Invalid session key"),
	N_("Invalid guest login request"),
	N_("No NETR configured"),
	N_("Reserved ntlm error (70)"),
	N_("Reserved ntlm error (71)"),
	N_("Reserved ntlm error (72)"),
	N_("Reserved ntlm error (73)"),
	N_("Reserved ntlm error (74)"),
	N_("Reserved ntlm error (75)"),
	N_("Reserved ntlm error (76)"),
	N_("Reserved ntlm error (77)"),
	N_("Reserved ntlm error (78)"),
	N_("Reserved ntlm error (79)"),
	N_("Reserved ntlm error (80)"),
	N_("Reserved ntlm error (81)"),
	N_("Reserved ntlm error (82)"),
	N_("Reserved ntlm error (83)"),
	N_("Reserved ntlm error (84)"),
	N_("Reserved ntlm error (85)"),
	N_("Reserved ntlm error (86)"),
	N_("Reserved ntlm error (87)"),
	N_("Reserved ntlm error (88)"),
	N_("Reserved ntlm error (89)"),
	N_("Reserved ntlm error (90)"),
	N_("Reserved ntlm error (91)"),
	N_("Reserved ntlm error (92)"),
	N_("Reserved ntlm error (93)"),
	N_("Reserved ntlm error (94)"),
	N_("Reserved ntlm error (95)"),
	N_("Reserved ntlm error (96)"),
	N_("Reserved ntlm error (97)"),
	N_("Reserved ntlm error (98)"),
	N_("Reserved ntlm error (99)"),
	N_("Reserved ntlm error (100)"),
	N_("Reserved ntlm error (101)"),
	N_("Reserved ntlm error (102)"),
	N_("Reserved ntlm error (103)"),
	N_("Reserved ntlm error (104)"),
	N_("Reserved ntlm error (105)"),
	N_("Reserved ntlm error (106)"),
	N_("Reserved ntlm error (107)"),
	N_("Reserved ntlm error (108)"),
	N_("Reserved ntlm error (109)"),
	N_("Reserved ntlm error (110)"),
	N_("Reserved ntlm error (111)"),
	N_("Reserved ntlm error (112)"),
	N_("Reserved ntlm error (113)"),
	N_("Reserved ntlm error (114)"),
	N_("Reserved ntlm error (115)"),
	N_("Reserved ntlm error (116)"),
	N_("Reserved ntlm error (117)"),
	N_("Reserved ntlm error (118)"),
	N_("Reserved ntlm error (119)"),
	N_("Reserved ntlm error (120)"),
	N_("Reserved ntlm error (121)"),
	N_("Reserved ntlm error (122)"),
	N_("Reserved ntlm error (123)"),
	N_("Reserved ntlm error (124)"),
	N_("Reserved ntlm error (125)"),
	N_("Reserved ntlm error (126)"),
	N_("Reserved ntlm error (127)"),
	N_("Invalid SCRAM message"),
	N_("Invalid SCRAM proof"),
	N_("Invalid SCRAM role"),
    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_ntlm_error_table = { text, -1561745664L, 131 };

static struct et_list link = { 0, 0 };

void initialize_ntlm_error_table_r(struct et_list **list);
void initialize_ntlm_error_table(void);

void initialize_ntlm_error_table(void) {
    initialize_ntlm_error_table_r(&_et_list);
}

/* For Heimdal compatibility */
void initialize_ntlm_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_ntlm_error_table;
    et->next = 0;
    *end = et;
}
