Rebuild for wheezy-backports.
[mech_eap.git] / mech_eap / radsec_err.c
1 /*
2  * radsec_err.c:
3  * This file is automatically generated; please do not edit it.
4  */
5
6 #include <stdlib.h>
7
8 #define N_(a) a
9
10 static const char * const text[] = {
11         N_(""),
12     0
13 };
14
15 struct error_table {
16     char const * const * msgs;
17     long base;
18     int n_msgs;
19 };
20 struct et_list {
21     struct et_list *next;
22     const struct error_table * table;
23 };
24 extern struct et_list *_et_list;
25
26 const struct error_table et_rse_error_table = { text, 46882560L, 1 };
27
28 static struct et_list link = { 0, 0 };
29
30 void initialize_rse_error_table_r(struct et_list **list);
31 void initialize_rse_error_table(void);
32
33 void initialize_rse_error_table(void) {
34     initialize_rse_error_table_r(&_et_list);
35 }
36
37 /* For Heimdal compatibility */
38 void initialize_rse_error_table_r(struct et_list **list)
39 {
40     struct et_list *et, **end;
41
42     for (end = list, et = *list; et; end = &et->next, et = et->next)
43         if (et->table->msgs == text)
44             return;
45     et = malloc(sizeof(struct et_list));
46     if (et == 0) {
47         if (!link.table)
48             et = &link;
49         else
50             return;
51     }
52     et->table = &et_rse_error_table;
53     et->next = 0;
54     *end = et;
55 }