security/nss/lib/ckfw/ckfwm.h

Wed, 31 Dec 2014 06:09:35 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 06:09:35 +0100
changeset 0
6474c204b198
permissions
-rw-r--r--

Cloned upstream origin tor-browser at tor-browser-31.3.0esr-4.5-1-build1
revision ID fc1c9ff7c1b2defdbc039f12214767608f46423f for hacking purpose.

michael@0 1 /* This Source Code Form is subject to the terms of the Mozilla Public
michael@0 2 * License, v. 2.0. If a copy of the MPL was not distributed with this
michael@0 3 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
michael@0 4
michael@0 5 #ifndef CKFWM_H
michael@0 6 #define CKFWM_H
michael@0 7
michael@0 8 /*
michael@0 9 * ckfwm.h
michael@0 10 *
michael@0 11 * This file prototypes the module-private calls of the NSS Cryptoki Framework.
michael@0 12 */
michael@0 13
michael@0 14 #ifndef NSSBASET_H
michael@0 15 #include "nssbaset.h"
michael@0 16 #endif /* NSSBASET_H */
michael@0 17
michael@0 18 #ifndef NSSCKT_H
michael@0 19 #include "nssckt.h"
michael@0 20 #endif /* NSSCKT_H */
michael@0 21
michael@0 22 #ifndef NSSCKFWT_H
michael@0 23 #include "nssckfwt.h"
michael@0 24 #endif /* NSSCKFWT_H */
michael@0 25
michael@0 26 /*
michael@0 27 * nssCKFWHash
michael@0 28 *
michael@0 29 * nssCKFWHash_Create
michael@0 30 * nssCKFWHash_Destroy
michael@0 31 * nssCKFWHash_Add
michael@0 32 * nssCKFWHash_Remove
michael@0 33 * nssCKFWHash_Count
michael@0 34 * nssCKFWHash_Exists
michael@0 35 * nssCKFWHash_Lookup
michael@0 36 * nssCKFWHash_Iterate
michael@0 37 */
michael@0 38
michael@0 39 /*
michael@0 40 * nssCKFWHash_Create
michael@0 41 *
michael@0 42 */
michael@0 43 NSS_EXTERN nssCKFWHash *
michael@0 44 nssCKFWHash_Create
michael@0 45 (
michael@0 46 NSSCKFWInstance *fwInstance,
michael@0 47 NSSArena *arena,
michael@0 48 CK_RV *pError
michael@0 49 );
michael@0 50
michael@0 51 /*
michael@0 52 * nssCKFWHash_Destroy
michael@0 53 *
michael@0 54 */
michael@0 55 NSS_EXTERN void
michael@0 56 nssCKFWHash_Destroy
michael@0 57 (
michael@0 58 nssCKFWHash *hash
michael@0 59 );
michael@0 60
michael@0 61 /*
michael@0 62 * nssCKFWHash_Add
michael@0 63 *
michael@0 64 */
michael@0 65 NSS_EXTERN CK_RV
michael@0 66 nssCKFWHash_Add
michael@0 67 (
michael@0 68 nssCKFWHash *hash,
michael@0 69 const void *key,
michael@0 70 const void *value
michael@0 71 );
michael@0 72
michael@0 73 /*
michael@0 74 * nssCKFWHash_Remove
michael@0 75 *
michael@0 76 */
michael@0 77 NSS_EXTERN void
michael@0 78 nssCKFWHash_Remove
michael@0 79 (
michael@0 80 nssCKFWHash *hash,
michael@0 81 const void *it
michael@0 82 );
michael@0 83
michael@0 84 /*
michael@0 85 * nssCKFWHash_Count
michael@0 86 *
michael@0 87 */
michael@0 88 NSS_EXTERN CK_ULONG
michael@0 89 nssCKFWHash_Count
michael@0 90 (
michael@0 91 nssCKFWHash *hash
michael@0 92 );
michael@0 93
michael@0 94 /*
michael@0 95 * nssCKFWHash_Exists
michael@0 96 *
michael@0 97 */
michael@0 98 NSS_EXTERN CK_BBOOL
michael@0 99 nssCKFWHash_Exists
michael@0 100 (
michael@0 101 nssCKFWHash *hash,
michael@0 102 const void *it
michael@0 103 );
michael@0 104
michael@0 105 /*
michael@0 106 * nssCKFWHash_Lookup
michael@0 107 *
michael@0 108 */
michael@0 109 NSS_EXTERN void *
michael@0 110 nssCKFWHash_Lookup
michael@0 111 (
michael@0 112 nssCKFWHash *hash,
michael@0 113 const void *it
michael@0 114 );
michael@0 115
michael@0 116 /*
michael@0 117 * nssCKFWHash_Iterate
michael@0 118 *
michael@0 119 */
michael@0 120 NSS_EXTERN void
michael@0 121 nssCKFWHash_Iterate
michael@0 122 (
michael@0 123 nssCKFWHash *hash,
michael@0 124 nssCKFWHashIterator fcn,
michael@0 125 void *closure
michael@0 126 );
michael@0 127
michael@0 128 #endif /* CKFWM_H */

mercurial