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