|
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 |
|
3 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ |
|
4 /* |
|
5 * pkix_resourcelimits.h |
|
6 * |
|
7 * ResourceLimits Object Type Definition |
|
8 * |
|
9 */ |
|
10 |
|
11 #ifndef _PKIX_RESOURCELIMITS_H |
|
12 #define _PKIX_RESOURCELIMITS_H |
|
13 |
|
14 #include "pkix_tools.h" |
|
15 |
|
16 #ifdef __cplusplus |
|
17 extern "C" { |
|
18 #endif |
|
19 |
|
20 struct PKIX_ResourceLimitsStruct { |
|
21 PKIX_UInt32 maxTime; |
|
22 PKIX_UInt32 maxFanout; |
|
23 PKIX_UInt32 maxDepth; |
|
24 PKIX_UInt32 maxCertsNumber; |
|
25 PKIX_UInt32 maxCrlsNumber; |
|
26 }; |
|
27 |
|
28 /* see source file for function documentation */ |
|
29 |
|
30 PKIX_Error *pkix_ResourceLimits_RegisterSelf(void *plContext); |
|
31 |
|
32 #ifdef __cplusplus |
|
33 } |
|
34 #endif |
|
35 |
|
36 #endif /* _PKIX_RESOURCELIMITS_H */ |