]> andersk Git - moira.git/blob - lib/mr_init.c
35e599a0e4907fd0bc82bcd18b366995058fce1d
[moira.git] / lib / mr_init.c
1 /*
2  *      $Source$
3  *      $Author$
4  *      $Header$
5  *
6  *      Copyright (C) 1987 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 "sms_private.h"
17
18 int sms_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 sms_init()
24 {
25         extern int link_against_the_moira_version_of_gdb;
26         if (sms_inited) return;
27         
28         gdb_init();
29         init_sms_err_tbl();
30         init_krb_err_tbl();
31         link_against_the_moira_version_of_gdb = 0;
32         sms_inited=1;
33 }
This page took 0.050791 seconds and 3 git commands to generate.