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 /* |
11 * secitem.h - public data structures and prototypes for handling | 11 * secitem.h - public data structures and prototypes for handling |
12 * SECItems | 12 * SECItems |
13 * | |
14 * $Id$ | |
15 */ | 13 */ |
16 | 14 |
17 #include "plarena.h" | 15 #include "plarena.h" |
18 #include "plhash.h" | 16 #include "plhash.h" |
19 #include "seccomon.h" | 17 #include "seccomon.h" |
20 | 18 |
21 SEC_BEGIN_PROTOS | 19 SEC_BEGIN_PROTOS |
22 | 20 |
23 /* | 21 /* |
24 ** Allocate an item. If "arena" is not NULL, then allocate from there, | 22 ** Allocate an item. If "arena" is not NULL, then allocate from there, |
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
93 extern SECItemArray *SECITEM_AllocArray(PLArenaPool *arena, | 91 extern SECItemArray *SECITEM_AllocArray(PLArenaPool *arena, |
94 SECItemArray *array, | 92 SECItemArray *array, |
95 unsigned int len); | 93 unsigned int len); |
96 extern SECItemArray *SECITEM_DupArray(PLArenaPool *arena, const SECItemArray *fr
om); | 94 extern SECItemArray *SECITEM_DupArray(PLArenaPool *arena, const SECItemArray *fr
om); |
97 extern void SECITEM_FreeArray(SECItemArray *array, PRBool freeit); | 95 extern void SECITEM_FreeArray(SECItemArray *array, PRBool freeit); |
98 extern void SECITEM_ZfreeArray(SECItemArray *array, PRBool freeit); | 96 extern void SECITEM_ZfreeArray(SECItemArray *array, PRBool freeit); |
99 | 97 |
100 SEC_END_PROTOS | 98 SEC_END_PROTOS |
101 | 99 |
102 #endif /* _SECITEM_H_ */ | 100 #endif /* _SECITEM_H_ */ |
OLD | NEW |