source: trunk/third/moira/lib/mr_init.c @ 24250

Revision 24250, 820 bytes checked in by broder, 15 years ago (diff)
New Moira snapshot from subversion. Sorry for the large diff - looks like all of the keywords changed in the SVN import process.
RevLine 
[23740]1/* $Id: mr_init.c,v 1.12 2000-01-28 00:03:30 danw Exp $
[23095]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
[24250]14RCSID("$Header: /afs/.athena.mit.edu/astaff/project/moiradev/repository/moira/lib/mr_init.c,v 1.12 2000-01-28 00:03:30 danw Exp $");
[23095]15
16int mr_inited = 0;
17
18void mr_init(void)
19{
20  if (mr_inited)
21    return;
22
[24250]23#if defined(__APPLE__) && defined(__MACH__)
24  add_error_table(&et_sms_error_table);
25  add_error_table(&et_krb_error_table);
26  add_error_table(&et_ureg_error_table);
27#else
[23095]28  initialize_sms_error_table();
29  initialize_krb_error_table();
30  initialize_ureg_error_table();
[24250]31#endif
32
[23095]33  mr_inited = 1;
34}
Note: See TracBrowser for help on using the repository browser.