]> andersk Git - moira.git/blob - lib/mr_init.c
880e88c1a7359f1788a4c359e8b00008db92ecf6
[moira.git] / lib / mr_init.c
1 /*
2  *      $Source$
3  *      $Author$
4  *      $Header$
5  *
6  *      Copyright (C) 1987, 1990 by the Massachusetts Institute of Technology
7  *      For copying and distribution information, please see the file
8  *      <mit-copyright.h>.
9  */
10
11 #ifndef lint
12 static char *rcsid_sms_init_c = "$Header$";
13 #endif lint
14
15 #include <mit-copyright.h>
16 #include "mr_private.h"
17
18 int mr_inited = 0;
19
20 /* the reference to link_against_the_moira_version_of_gdb is to make
21  * sure that this is built with the proper libraries.
22  */
23 mr_init()
24 {
25         extern int link_against_the_moira_version_of_gdb;
26         if (mr_inited) return;
27         
28         gdb_init();
29         initialize_sms_error_table();
30         initialize_krb_error_table();
31         link_against_the_moira_version_of_gdb = 0;
32         mr_inited=1;
33 }
This page took 0.03579 seconds and 3 git commands to generate.