/* This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */ /* * Internal header file included only by files in pkcs11 dir, or in * pkcs11 specific client and server files.
*/ #ifndef _SECMODI_H_ #define _SECMODI_H_ 1
/* Operate on modules by name */ extern SECMODModule *SECMOD_FindModuleByID(SECMODModuleID); extern SECMODModule *secmod_FindModuleByFuncPtr(void *funcPtr);
/* tools for checking if we are loading the same database twice */ typedefstruct SECMODConfigListStr SECMODConfigList; /* collect all the databases in a given spec */
SECMODConfigList *secmod_GetConfigList(PRBool isFIPS, char *spec, int *count); /* see is a spec matches a database on the list */
PRBool secmod_MatchConfigList(constchar *spec,
SECMODConfigList *conflist, int count); /* returns the slot id from a module and modulespec */
CK_SLOT_ID secmod_GetSlotIDFromModuleSpec(constchar *moduleSpec, SECMODModule *module); /* free our list of databases */ void secmod_FreeConfigList(SECMODConfigList *conflist, int count);
/* parsing parameters */ /* returned char * must be freed by caller with PORT_Free */ /* children and ids are null terminated arrays which must be freed with
* secmod_FreeChildren */ char *secmod_ParseModuleSpecForTokens(PRBool convert,
PRBool isFIPS, constchar *moduleSpec, char ***children,
CK_SLOT_ID **ids); void secmod_FreeChildren(char **children, CK_SLOT_ID *ids); char *secmod_MkAppendTokensList(PLArenaPool *arena, char *origModuleSpec, char *newModuleSpec, CK_SLOT_ID newID, char **children, CK_SLOT_ID *ids);
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.