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 /* | 5 /* |
6 * Public prototypes for base64 encoding/decoding. | 6 * Public prototypes for base64 encoding/decoding. |
7 * | |
8 * $Id$ | |
9 */ | 7 */ |
10 #ifndef _NSSB64_H_ | 8 #ifndef _NSSB64_H_ |
11 #define _NSSB64_H_ | 9 #define _NSSB64_H_ |
12 | 10 |
13 #include "utilrename.h" | 11 #include "utilrename.h" |
14 #include "seccomon.h" | 12 #include "seccomon.h" |
15 #include "nssb64t.h" | 13 #include "nssb64t.h" |
16 | 14 |
17 SEC_BEGIN_PROTOS | 15 SEC_BEGIN_PROTOS |
18 | 16 |
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
87 * Return value is NULL on error, the output buffer (allocated or provided) | 85 * Return value is NULL on error, the output buffer (allocated or provided) |
88 * otherwise. | 86 * otherwise. |
89 */ | 87 */ |
90 extern char * | 88 extern char * |
91 NSSBase64_EncodeItem (PLArenaPool *arenaOpt, char *outStrOpt, | 89 NSSBase64_EncodeItem (PLArenaPool *arenaOpt, char *outStrOpt, |
92 unsigned int maxOutLen, SECItem *inItem); | 90 unsigned int maxOutLen, SECItem *inItem); |
93 | 91 |
94 SEC_END_PROTOS | 92 SEC_END_PROTOS |
95 | 93 |
96 #endif /* _NSSB64_H_ */ | 94 #endif /* _NSSB64_H_ */ |
OLD | NEW |