Revision 23740,
640 bytes
checked in by broder, 16 years ago
(diff) |
In moira:
* New CVS snapshot (Trac: #195)
* Drop patches that have been incorporated upstream.
* Update to build without krb4 on systems that no longer have it.
This doesn't build yet on squeeze, which lacks a krb4 library, but I'm
committing now before I start hacking away at a patch to fix that.
|
Line | |
---|
1 | /* $Id: mr_init.c,v 1.12 2000-01-28 00:03:30 danw Exp $ |
---|
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: /afs/athena.mit.edu/astaff/project/moiradev/repository/moira/lib/mr_init.c,v 1.12 2000-01-28 00:03:30 danw Exp $"); |
---|
15 | |
---|
16 | int mr_inited = 0; |
---|
17 | |
---|
18 | void mr_init(void) |
---|
19 | { |
---|
20 | if (mr_inited) |
---|
21 | return; |
---|
22 | |
---|
23 | initialize_sms_error_table(); |
---|
24 | initialize_krb_error_table(); |
---|
25 | initialize_ureg_error_table(); |
---|
26 | mr_inited = 1; |
---|
27 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.