Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(525)

Side by Side Diff: nss/lib/softoken/lgglue.h

Issue 16132005: Allow NSS to be built with NO_NSPR_10_SUPPORT. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/deps/third_party/nss/
Patch Set: Created 7 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « nss/lib/softoken/ecdecode.c ('k') | nss/lib/softoken/lgglue.c » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 * This code defines the glue layer between softoken and the legacy DB library 5 * This code defines the glue layer between softoken and the legacy DB library
6 */ 6 */
7 #include "sdb.h" 7 #include "sdb.h"
8 8
9 /* 9 /*
10 * function prototypes for the callbacks into softoken from the legacyDB 10 * function prototypes for the callbacks into softoken from the legacyDB
11 */ 11 */
12 12
13 typedef SECStatus (*LGEncryptFunc)(PRArenaPool *arena, SDB *sdb, 13 typedef SECStatus (*LGEncryptFunc)(PLArenaPool *arena, SDB *sdb,
14 SECItem *plainText, SECItem **cipherText); 14 SECItem *plainText, SECItem **cipherText);
15 typedef SECStatus (*LGDecryptFunc)(SDB *sdb, SECItem *cipherText, 15 typedef SECStatus (*LGDecryptFunc)(SDB *sdb, SECItem *cipherText,
16 SECItem **plainText); 16 SECItem **plainText);
17 17
18 /* 18 /*
19 * function prototypes for the exported functions. 19 * function prototypes for the exported functions.
20 */ 20 */
21 typedef CK_RV (*LGOpenFunc) (const char *dir, const char *certPrefix, 21 typedef CK_RV (*LGOpenFunc) (const char *dir, const char *certPrefix,
22 const char *keyPrefix, 22 const char *keyPrefix,
23 int certVersion, int keyVersion, int flags, 23 int certVersion, int keyVersion, int flags,
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
70 const char *filename, const char *dbname, 70 const char *filename, const char *dbname,
71 char **moduleSpecList, PRBool rw); 71 char **moduleSpecList, PRBool rw);
72 SECStatus sftkdbCall_DeleteSecmodDB(const char *appName, 72 SECStatus sftkdbCall_DeleteSecmodDB(const char *appName,
73 const char *filename, const char *dbname, 73 const char *filename, const char *dbname,
74 char *args, PRBool rw); 74 char *args, PRBool rw);
75 SECStatus sftkdbCall_AddSecmodDB(const char *appName, 75 SECStatus sftkdbCall_AddSecmodDB(const char *appName,
76 const char *filename, const char *dbname, 76 const char *filename, const char *dbname,
77 char *module, PRBool rw); 77 char *module, PRBool rw);
78 CK_RV sftkdbCall_Shutdown(void); 78 CK_RV sftkdbCall_Shutdown(void);
79 79
OLDNEW
« no previous file with comments | « nss/lib/softoken/ecdecode.c ('k') | nss/lib/softoken/lgglue.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698