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 #ifndef _SECITEM_H_ | 5 #ifndef _SECITEM_H_ |
6 #define _SECITEM_H_ | 6 #define _SECITEM_H_ |
7 | 7 |
8 #include "utilrename.h" | 8 #include "utilrename.h" |
9 | 9 |
10 /* | 10 /* |
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
83 | 83 |
84 /* | 84 /* |
85 ** Zero and then free "zap". If freeit is PR_TRUE then "zap" itself is freed. | 85 ** Zero and then free "zap". If freeit is PR_TRUE then "zap" itself is freed. |
86 */ | 86 */ |
87 extern void SECITEM_ZfreeItem(SECItem *zap, PRBool freeit); | 87 extern void SECITEM_ZfreeItem(SECItem *zap, PRBool freeit); |
88 | 88 |
89 PLHashNumber PR_CALLBACK SECITEM_Hash ( const void *key); | 89 PLHashNumber PR_CALLBACK SECITEM_Hash ( const void *key); |
90 | 90 |
91 PRIntn PR_CALLBACK SECITEM_HashCompare ( const void *k1, const void *k2); | 91 PRIntn PR_CALLBACK SECITEM_HashCompare ( const void *k1, const void *k2); |
92 | 92 |
| 93 extern SECItemArray *SECITEM_AllocArray(PLArenaPool *arena, |
| 94 SECItemArray *array, |
| 95 unsigned int len); |
| 96 extern SECItemArray *SECITEM_DupArray(PLArenaPool *arena, const SECItemArray *fr
om); |
| 97 extern void SECITEM_FreeArray(SECItemArray *array, PRBool freeit); |
| 98 extern void SECITEM_ZfreeArray(SECItemArray *array, PRBool freeit); |
93 | 99 |
94 SEC_END_PROTOS | 100 SEC_END_PROTOS |
95 | 101 |
96 #endif /* _SECITEM_H_ */ | 102 #endif /* _SECITEM_H_ */ |
OLD | NEW |