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