Mercurial > trustbridge > nss-cmake-static
comparison nss/lib/ckfw/ckfwm.h @ 0:1e5118fa0cb1
This is NSS with a Cmake Buildsyste
To compile a static NSS library for Windows we've used the
Chromium-NSS fork and added a Cmake buildsystem to compile
it statically for Windows. See README.chromium for chromium
changes and README.trustbridge for our modifications.
author | Andre Heinecke <andre.heinecke@intevation.de> |
---|---|
date | Mon, 28 Jul 2014 10:47:06 +0200 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:1e5118fa0cb1 |
---|---|
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 #ifndef CKFWM_H | |
6 #define CKFWM_H | |
7 | |
8 /* | |
9 * ckfwm.h | |
10 * | |
11 * This file prototypes the module-private calls of the NSS Cryptoki Framework. | |
12 */ | |
13 | |
14 #ifndef NSSBASET_H | |
15 #include "nssbaset.h" | |
16 #endif /* NSSBASET_H */ | |
17 | |
18 #ifndef NSSCKT_H | |
19 #include "nssckt.h" | |
20 #endif /* NSSCKT_H */ | |
21 | |
22 #ifndef NSSCKFWT_H | |
23 #include "nssckfwt.h" | |
24 #endif /* NSSCKFWT_H */ | |
25 | |
26 /* | |
27 * nssCKFWHash | |
28 * | |
29 * nssCKFWHash_Create | |
30 * nssCKFWHash_Destroy | |
31 * nssCKFWHash_Add | |
32 * nssCKFWHash_Remove | |
33 * nssCKFWHash_Count | |
34 * nssCKFWHash_Exists | |
35 * nssCKFWHash_Lookup | |
36 * nssCKFWHash_Iterate | |
37 */ | |
38 | |
39 /* | |
40 * nssCKFWHash_Create | |
41 * | |
42 */ | |
43 NSS_EXTERN nssCKFWHash * | |
44 nssCKFWHash_Create | |
45 ( | |
46 NSSCKFWInstance *fwInstance, | |
47 NSSArena *arena, | |
48 CK_RV *pError | |
49 ); | |
50 | |
51 /* | |
52 * nssCKFWHash_Destroy | |
53 * | |
54 */ | |
55 NSS_EXTERN void | |
56 nssCKFWHash_Destroy | |
57 ( | |
58 nssCKFWHash *hash | |
59 ); | |
60 | |
61 /* | |
62 * nssCKFWHash_Add | |
63 * | |
64 */ | |
65 NSS_EXTERN CK_RV | |
66 nssCKFWHash_Add | |
67 ( | |
68 nssCKFWHash *hash, | |
69 const void *key, | |
70 const void *value | |
71 ); | |
72 | |
73 /* | |
74 * nssCKFWHash_Remove | |
75 * | |
76 */ | |
77 NSS_EXTERN void | |
78 nssCKFWHash_Remove | |
79 ( | |
80 nssCKFWHash *hash, | |
81 const void *it | |
82 ); | |
83 | |
84 /* | |
85 * nssCKFWHash_Count | |
86 * | |
87 */ | |
88 NSS_EXTERN CK_ULONG | |
89 nssCKFWHash_Count | |
90 ( | |
91 nssCKFWHash *hash | |
92 ); | |
93 | |
94 /* | |
95 * nssCKFWHash_Exists | |
96 * | |
97 */ | |
98 NSS_EXTERN CK_BBOOL | |
99 nssCKFWHash_Exists | |
100 ( | |
101 nssCKFWHash *hash, | |
102 const void *it | |
103 ); | |
104 | |
105 /* | |
106 * nssCKFWHash_Lookup | |
107 * | |
108 */ | |
109 NSS_EXTERN void * | |
110 nssCKFWHash_Lookup | |
111 ( | |
112 nssCKFWHash *hash, | |
113 const void *it | |
114 ); | |
115 | |
116 /* | |
117 * nssCKFWHash_Iterate | |
118 * | |
119 */ | |
120 NSS_EXTERN void | |
121 nssCKFWHash_Iterate | |
122 ( | |
123 nssCKFWHash *hash, | |
124 nssCKFWHashIterator fcn, | |
125 void *closure | |
126 ); | |
127 | |
128 #endif /* CKFWM_H */ |