#include <mit-copyright.h>
#include "sms_private.h"
#include <krb.h>
+#include <krb_et.h>
-extern int krb_err_base;
/* Authenticate this client with the SMS server. prog is the name of the
* client program, and will be recorded in the database.
}
status = krb_mk_req(&auth, "sms", "sms", realm, 0);
if (status != KSUCCESS) {
- status += krb_err_base;
+ status += ERROR_TABLE_BASE_krb;
return status;
}
params->sms_version_no = sending_version_no;
return status;
}
-
-/*
- * Local Variables:
- * mode: c
- * c-indent-level: 4
- * c-continued-statement-offset: 4
- * c-brace-offset: -4
- * c-argdecl-indent: 4
- * c-label-offset: -4
- * End:
- */
if (sms_inited) return;
gdb_init();
- init_sms_err_tbl();
- init_krb_err_tbl();
+ initialize_sms_error_table();
+ initialize_krb_error_table();
link_against_the_moira_version_of_gdb = 0;
sms_inited=1;
}