-/*
- * $Source$
- * $Author$
- * $Header$
+/* $Id$
*
- * Copyright (C) 1987 by the Massachusetts Institute of Technology
- *
- * $Log$
- * Revision 1.1 1987-05-31 22:06:40 wesommer
- * Initial revision
+ * Initialize libmoira
*
+ * Copyright (C) 1987-1990 by the Massachusetts Institute of Technology
+ * For copying and distribution information, please see the file
+ * <mit-copyright.h>.
*/
-#ifndef lint
-static char *rcsid_sms_init_c = "$Header$";
-#endif lint
+#include <mit-copyright.h>
+#include <moira.h>
+#include "mr_private.h"
-#include "sms_private.h"
+RCSID("$Header$");
-int sms_inited = 0;
+int mr_inited = 0;
-sms_init()
+void mr_init(void)
{
- if (sms_inited) return;
-
- gdb_init();
- init_sms_err_tbl();
- init_krb_err_tbl();
- sms_inited=1;
+ if (mr_inited)
+ return;
+
+ initialize_sms_error_table();
+ initialize_krb_error_table();
+ initialize_ureg_error_table();
+ mr_inited = 1;
}