OLD | NEW |
1 /* This Source Code Form is subject to the terms of the Mozilla Public | 1 /* This Source Code Form is subject to the terms of the Mozilla Public |
2 * License, v. 2.0. If a copy of the MPL was not distributed with this | 2 * License, v. 2.0. If a copy of the MPL was not distributed with this |
3 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ | 3 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ |
4 /* | 4 /* |
5 * The following handles the loading, unloading and management of | 5 * The following handles the loading, unloading and management of |
6 * various PCKS #11 modules | 6 * various PCKS #11 modules |
7 */ | 7 */ |
8 #define FORCE_PR_LOG 1 | 8 #define FORCE_PR_LOG 1 |
9 #include "seccomon.h" | 9 #include "seccomon.h" |
10 #include "pkcs11.h" | 10 #include "pkcs11.h" |
11 #include "secmod.h" | 11 #include "secmod.h" |
12 #include "prlink.h" | 12 #include "prlink.h" |
13 #include "pk11func.h" | 13 #include "pk11func.h" |
14 #include "secmodi.h" | 14 #include "secmodi.h" |
15 #include "secmodti.h" | 15 #include "secmodti.h" |
16 #include "nssilock.h" | 16 #include "nssilock.h" |
17 #include "secerr.h" | 17 #include "secerr.h" |
18 #include "prenv.h" | 18 #include "prenv.h" |
| 19 #include "utilparst.h" |
19 | 20 |
20 #define DEBUG_MODULE 1 | 21 #define DEBUG_MODULE 1 |
21 | 22 |
22 #ifdef DEBUG_MODULE | 23 #ifdef DEBUG_MODULE |
23 static char *modToDBG = NULL; | 24 static char *modToDBG = NULL; |
24 | 25 |
25 #include "debug_module.c" | 26 #include "debug_module.c" |
26 #endif | 27 #endif |
27 | 28 |
28 /* build the PKCS #11 2.01 lock files */ | 29 /* build the PKCS #11 2.01 lock files */ |
(...skipping 600 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
629 | 630 |
630 void | 631 void |
631 nss_DumpModuleLog(void) | 632 nss_DumpModuleLog(void) |
632 { | 633 { |
633 #ifdef DEBUG_MODULE | 634 #ifdef DEBUG_MODULE |
634 if (modToDBG) { | 635 if (modToDBG) { |
635 print_final_statistics(); | 636 print_final_statistics(); |
636 } | 637 } |
637 #endif | 638 #endif |
638 } | 639 } |
OLD | NEW |