Bugzilla bug #77199: more PR_CALLBACK changes received from Javier

Pedemonte <pedemont@us.ibm.com> for OS/2.
Modified files: cert.h, certdb.h


git-svn-id: svn://10.0.0.236/trunk@95708 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
wtc%netscape.com 2001-05-22 22:01:33 +00:00
parent a9f87f82ab
commit c4babfa1f2
2 changed files with 4 additions and 4 deletions

View File

@ -34,7 +34,7 @@
/*
* cert.h - public data structures and prototypes for the certificate library
*
* $Id: cert.h,v 1.9 2001-04-11 22:28:08 nelsonb%netscape.com Exp $
* $Id: cert.h,v 1.10 2001-05-22 22:01:32 wtc%netscape.com Exp $
*/
#ifndef _CERT_H_
@ -614,7 +614,7 @@ CERT_ImportCAChain (SECItem *certs, int numcerts, SECCertUsage certUsage);
** "f" is the callback function
** "arg" is the callback argument
*/
typedef SECStatus (*CERTImportCertificateFunc)
typedef SECStatus (PR_CALLBACK *CERTImportCertificateFunc)
(void *arg, SECItem **certs, int numcerts);
extern SECStatus

View File

@ -312,8 +312,8 @@ SECStatus SEC_OpenPermCertDB(CERTCertDBHandle *handle,
SECStatus SEC_DeletePermCertificate(CERTCertificate *cert);
typedef SECStatus (* PermCertCallback)(CERTCertificate *cert, SECItem *k,
void *pdata);
typedef SECStatus (PR_CALLBACK * PermCertCallback)(CERTCertificate *cert,
SECItem *k, void *pdata);
/*
** Traverse the entire permanent database, and pass the certs off to a
** user supplied function.