Thu, 22 Jan 2015 13:21:57 +0100
Incorporate requested changes from Mozilla in review:
https://bugzilla.mozilla.org/show_bug.cgi?id=1123480#c6
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 * pkix_error.h
6 *
7 * Error Object Type Definition
8 *
9 */
11 #ifndef _PKIX_ERROR_H
12 #define _PKIX_ERROR_H
14 #include "pkix_tools.h"
16 #ifdef __cplusplus
17 extern "C" {
18 #endif
20 struct PKIX_ErrorStruct {
21 PKIX_ERRORCODE errCode;
22 PKIX_ERRORCLASS errClass; /* was formerly "code" */
23 PKIX_Int32 plErr;
24 PKIX_Error *cause;
25 PKIX_PL_Object *info;
26 };
28 /* see source file for function documentation */
30 extern PKIX_Error * pkix_Error_RegisterSelf(void *plContext);
32 #ifdef __cplusplus
33 }
34 #endif
36 #endif /* _PKIX_ERROR_H */