• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /*
2  * continuation.c:
3  * This file is automatically generated; please do not edit it.
4  */
5 
6 #include <stdlib.h>
7 
8 static const char * const text[] = {
9 	"New password was found in a dictionary of possible passwords and\ntherefore may be easily guessed. Please choose another password.\nSee the ovpasswd man page for help in choosing a good password.",
10     0
11 };
12 
13 struct error_table {
14     char const * const * msgs;
15     long base;
16     int n_msgs;
17 };
18 struct et_list {
19     struct et_list *next;
20     const struct error_table * table;
21 };
22 extern struct et_list *_et_list;
23 
24 const struct error_table et_ovk_error_table = { text, 43787520L, 1 };
25 
26 static struct et_list link = { 0, 0 };
27 
28 void initialize_ovk_error_table_r(struct et_list **list);
29 void initialize_ovk_error_table(void);
30 
initialize_ovk_error_table(void)31 void initialize_ovk_error_table(void) {
32     initialize_ovk_error_table_r(&_et_list);
33 }
34 
35 /* For Heimdal compatibility */
initialize_ovk_error_table_r(struct et_list ** list)36 void initialize_ovk_error_table_r(struct et_list **list)
37 {
38     struct et_list *et, **end;
39 
40     for (end = list, et = *list; et; end = &et->next, et = et->next)
41         if (et->table->msgs == text)
42             return;
43     et = malloc(sizeof(struct et_list));
44     if (et == 0) {
45         if (!link.table)
46             et = &link;
47         else
48             return;
49     }
50     et->table = &et_ovk_error_table;
51     et->next = 0;
52     *end = et;
53 }
54