jdk/src/solaris/native/sun/security/pkcs11/j2secmod_md.h
changeset 18772 ab43f18c524e
parent 5506 202f599c92aa
equal deleted inserted replaced
18586:36bbc241ad6e 18772:ab43f18c524e
     1 /*
     1 /*
     2  * Copyright (c) 2005, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 2005, 2013, Oracle and/or its affiliates. All rights reserved.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     4  *
     4  *
     5  * This code is free software; you can redistribute it and/or modify it
     5  * This code is free software; you can redistribute it and/or modify it
     6  * under the terms of the GNU General Public License version 2 only, as
     6  * under the terms of the GNU General Public License version 2 only, as
     7  * published by the Free Software Foundation.  Oracle designates this
     7  * published by the Free Software Foundation.  Oracle designates this
    23  * questions.
    23  * questions.
    24  */
    24  */
    25 
    25 
    26 // in nss.h:
    26 // in nss.h:
    27 // extern PRBool NSS_VersionCheck(const char *importedVersion);
    27 // extern PRBool NSS_VersionCheck(const char *importedVersion);
    28 // extern SECStatus NSS_Init(const char *configdir);
    28 // extern SECStatus NSS_Initialize(const char *configdir,
       
    29 //     const char *certPrefix, const char *keyPrefix,
       
    30 //     const char *secmodName, PRUint32 flags);
       
    31 
    29 typedef int (*FPTR_VersionCheck)(const char *importedVersion);
    32 typedef int (*FPTR_VersionCheck)(const char *importedVersion);
    30 typedef int (*FPTR_Init)(const char *configdir);
    33 typedef int (*FPTR_Initialize)(const char *configdir,
       
    34         const char *certPrefix, const char *keyPrefix,
       
    35         const char *secmodName, unsigned int flags);
    31 
    36 
    32 // in secmod.h
    37 // in secmod.h
    33 //extern SECMODModule *SECMOD_LoadModule(char *moduleSpec,SECMODModule *parent,
    38 //extern SECMODModule *SECMOD_LoadModule(char *moduleSpec,SECMODModule *parent,
    34 //                                                      PRBool recurse);
    39 //                                                      PRBool recurse);
    35 //char **SECMOD_GetModuleSpecList(SECMODModule *module);
    40 //char **SECMOD_GetModuleSpecList(SECMODModule *module);