]>
Commit | Line | Data |
---|---|---|
fa59b86f | 1 | /* $Id$ |
0fa91a0a | 2 | * |
7ac48069 | 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>. | |
0fa91a0a | 8 | */ |
9 | ||
babbc197 | 10 | #include <mit-copyright.h> |
7ac48069 | 11 | #include <moira.h> |
8defc06b | 12 | #include "mr_private.h" |
0fa91a0a | 13 | |
7ac48069 | 14 | RCSID("$Header$"); |
15 | ||
8defc06b | 16 | int mr_inited = 0; |
0fa91a0a | 17 | |
7ac48069 | 18 | void mr_init(void) |
0fa91a0a | 19 | { |
5eaef520 | 20 | if (mr_inited) |
21 | return; | |
22 | ||
5eaef520 | 23 | initialize_sms_error_table(); |
24 | initialize_krb_error_table(); | |
85330553 | 25 | initialize_ureg_error_table(); |
5eaef520 | 26 | mr_inited = 1; |
0fa91a0a | 27 | } |