| 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 * pkix_tools.h | 5 * pkix_tools.h |
| 6 * | 6 * |
| 7 * Header for Utility Functions and Macros | 7 * Header for Utility Functions and Macros |
| 8 * | 8 * |
| 9 */ | 9 */ |
| 10 | 10 |
| (...skipping 1419 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1430 * type and an ASCII string (char *) which is used by the default | 1430 * type and an ASCII string (char *) which is used by the default |
| 1431 * ToStringCallback (if necessary). System types register themselves directly | 1431 * ToStringCallback (if necessary). System types register themselves directly |
| 1432 * when their respective PKIX_"type"_RegisterSelf functions are called. | 1432 * when their respective PKIX_"type"_RegisterSelf functions are called. |
| 1433 * User-defined types can be registered using PKIX_PL_Object_RegisterType. | 1433 * User-defined types can be registered using PKIX_PL_Object_RegisterType. |
| 1434 * (see comments in pkix_pl_system.h) | 1434 * (see comments in pkix_pl_system.h) |
| 1435 */ | 1435 */ |
| 1436 | 1436 |
| 1437 typedef struct pkix_ClassTable_EntryStruct pkix_ClassTable_Entry; | 1437 typedef struct pkix_ClassTable_EntryStruct pkix_ClassTable_Entry; |
| 1438 struct pkix_ClassTable_EntryStruct { | 1438 struct pkix_ClassTable_EntryStruct { |
| 1439 char *description; | 1439 char *description; |
| 1440 PKIX_Int32 objCounter; | 1440 PKIX_UInt32 objCounter; |
| 1441 PKIX_Int32 typeObjectSize; | 1441 PKIX_UInt32 typeObjectSize; |
| 1442 PKIX_PL_DestructorCallback destructor; | 1442 PKIX_PL_DestructorCallback destructor; |
| 1443 PKIX_PL_EqualsCallback equalsFunction; | 1443 PKIX_PL_EqualsCallback equalsFunction; |
| 1444 PKIX_PL_HashcodeCallback hashcodeFunction; | 1444 PKIX_PL_HashcodeCallback hashcodeFunction; |
| 1445 PKIX_PL_ToStringCallback toStringFunction; | 1445 PKIX_PL_ToStringCallback toStringFunction; |
| 1446 PKIX_PL_ComparatorCallback comparator; | 1446 PKIX_PL_ComparatorCallback comparator; |
| 1447 PKIX_PL_DuplicateCallback duplicateFunction; | 1447 PKIX_PL_DuplicateCallback duplicateFunction; |
| 1448 }; | 1448 }; |
| 1449 | 1449 |
| 1450 /* | 1450 /* |
| 1451 * PKIX_ERRORCLASSNAMES is an array of strings, with each string holding a | 1451 * PKIX_ERRORCLASSNAMES is an array of strings, with each string holding a |
| (...skipping 127 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1579 const char *info, | 1579 const char *info, |
| 1580 PKIX_PL_Cert *cert, | 1580 PKIX_PL_Cert *cert, |
| 1581 void *plContext); | 1581 void *plContext); |
| 1582 #endif | 1582 #endif |
| 1583 | 1583 |
| 1584 #ifdef __cplusplus | 1584 #ifdef __cplusplus |
| 1585 } | 1585 } |
| 1586 #endif | 1586 #endif |
| 1587 | 1587 |
| 1588 #endif /* _PKIX_TOOLS_H */ | 1588 #endif /* _PKIX_TOOLS_H */ |
| OLD | NEW |