| 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 #ifndef _SECMOD_H_ | 4 #ifndef _SECMOD_H_ |
| 5 #define _SEDMOD_H_ | 5 #define _SECMOD_H_ |
| 6 #include "seccomon.h" | 6 #include "seccomon.h" |
| 7 #include "secmodt.h" | 7 #include "secmodt.h" |
| 8 #include "prinrval.h" | 8 #include "prinrval.h" |
| 9 | 9 |
| 10 /* These mechanisms flags are visible to all other libraries. */ | 10 /* These mechanisms flags are visible to all other libraries. */ |
| 11 /* They must be converted to internal SECMOD_*_FLAG */ | 11 /* They must be converted to internal SECMOD_*_FLAG */ |
| 12 /* if used inside the functions of the security library */ | 12 /* if used inside the functions of the security library */ |
| 13 #define PUBLIC_MECH_RSA_FLAG 0x00000001ul | 13 #define PUBLIC_MECH_RSA_FLAG 0x00000001ul |
| 14 #define PUBLIC_MECH_DSA_FLAG 0x00000002ul | 14 #define PUBLIC_MECH_DSA_FLAG 0x00000002ul |
| 15 #define PUBLIC_MECH_RC2_FLAG 0x00000004ul | 15 #define PUBLIC_MECH_RC2_FLAG 0x00000004ul |
| (...skipping 139 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 155 * modules to add new slots, but never remove them. Slots not be added between | 155 * modules to add new slots, but never remove them. Slots not be added between |
| 156 * a call to C_GetSlotLlist(Flag, NULL, &count) and the corresponding | 156 * a call to C_GetSlotLlist(Flag, NULL, &count) and the corresponding |
| 157 * C_GetSlotList(flag, &data, &count) so that the array doesn't accidently | 157 * C_GetSlotList(flag, &data, &count) so that the array doesn't accidently |
| 158 * grow on the caller. It is permissible for the slots to increase between | 158 * grow on the caller. It is permissible for the slots to increase between |
| 159 * corresponding calls with NULL to get the size. | 159 * corresponding calls with NULL to get the size. |
| 160 */ | 160 */ |
| 161 SECStatus SECMOD_UpdateSlotList(SECMODModule *mod); | 161 SECStatus SECMOD_UpdateSlotList(SECMODModule *mod); |
| 162 SEC_END_PROTOS | 162 SEC_END_PROTOS |
| 163 | 163 |
| 164 #endif | 164 #endif |
| OLD | NEW |