]> andersk Git - moira.git/blobdiff - lib/mr_init.c
Command line printer manipulation client, and build goo.
[moira.git] / lib / mr_init.c
index a15a1da2fc0879488e2d165c90bb330e9fe61615..7a0256845be53940a02135d740f2771c733ddfc3 100644 (file)
@@ -1,30 +1,27 @@
-/*
- *     $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;
 }
This page took 0.034234 seconds and 4 git commands to generate.