1 // ATTENTION: someone in the past edited this file manually
2 // I am continuing this tradition just to get the release out. 3/6/97
3 // This needs to be revisited and repaired!!!XXXX
9 * This file is the C file for leasherr.et.
10 * Please do not edit it as it is automatically generated.
16 static const char* const text[] = {
17 "Only one instance of Leash can be run at a time.",
22 "Unexpected end of Kerberos memory storage.",
23 "Warning! Your Kerberos tickets expire soon.",
24 "You did not type the same new password.",
25 "You can only use printable characters in a password.",
26 "Fatal error; cannot run this program.",
27 "Couldn't initialize WinSock.",
28 "Couldn't find the timeserver host entry.",
29 "Couldn't open a socket.",
30 "Couldn't connect to timeserver.",
31 "Couldn't get time from server.",
32 "Couldn't get local time of day.",
33 "Couldn't set local time of day.",
34 "Error while receiving time from server.",
35 "Protocol problem with timeserver.",
36 "The time was already reset. Try using a different program to synchronize the time.",
40 typedef LPSTR (*err_func)(int, long);
42 char const * const * msgs;
53 const struct error_table * table;
56 static const struct error_table et = { text, (err_func)0, 40591872L, 20 };
59 void initialize_lsh_error_table(HANDLE *__et_list) {
60 // struct et_list *_link,*_et_list;
61 struct et_list *_link;
64 ghlink=GlobalAlloc(GHND,sizeof(struct et_list));
65 _link=GlobalLock(ghlink);
66 _link->next=*__et_list;
72 void initialize_lsh_error_table(struct et_list **__et_list) {
73 struct et_list *_link;
75 _link=malloc(sizeof(struct et_list));
76 _link->next=*__et_list;
84 void Leash_initialize_krb_error_func(err_func func, HANDLE *__et_list)
88 void Leash_initialize_kadm_error_table(HANDLE *__et_list)
94 void Leash_initialize_krb_error_func(err_func func, struct et_list **__et_list)
96 (*pinitialize_krb_error_func)(func,__et_list);
101 void Leash_initialize_kadm_error_table(struct et_list **__et_list)
103 initialize_kadm_error_table(__et_list);