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

Side by Side Diff: nss/lib/libpkix/pkix/util/pkix_logger.h

Issue 2078763002: Delete bundled copy of NSS and replace with README. (Closed) Base URL: https://chromium.googlesource.com/chromium/deps/nss@master
Patch Set: Delete bundled copy of NSS and replace with README. Created 4 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
« no previous file with comments | « nss/lib/libpkix/pkix/util/pkix_list.c ('k') | nss/lib/libpkix/pkix/util/pkix_logger.c » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
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
3 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
4 /*
5 * pkix_logger.h
6 *
7 * Logger Object Type Definition
8 *
9 */
10
11 #ifndef _PKIX_LOGGER_H
12 #define _PKIX_LOGGER_H
13
14 #include "pkix_tools.h"
15
16 #ifdef __cplusplus
17 extern "C" {
18 #endif
19
20 extern PKIX_List *pkixLoggers;
21 extern PKIX_List *pkixLoggersErrors;
22 extern PKIX_List *pkixLoggersDebugTrace;
23
24 struct PKIX_LoggerStruct {
25 PKIX_Logger_LogCallback callback;
26 PKIX_PL_Object *context;
27 PKIX_UInt32 maxLevel;
28 PKIX_ERRORCLASS logComponent;
29 };
30
31 PKIX_Error *
32 pkix_Logger_Check(
33 PKIX_List *pkixLoggersList,
34 const char *message,
35 const char *message2,
36 PKIX_ERRORCLASS logComponent,
37 PKIX_UInt32 maxLevel,
38 void *plContext);
39
40 PKIX_Error *
41 pkix_Logger_CheckWithCode(
42 PKIX_List *pkixLoggersList,
43 PKIX_UInt32 errorCode,
44 const char *message2,
45 PKIX_ERRORCLASS logComponent,
46 PKIX_UInt32 maxLevel,
47 void *plContext);
48
49 /* see source file for function documentation */
50
51 PKIX_Error *pkix_Logger_RegisterSelf(void *plContext);
52
53 #ifdef __cplusplus
54 }
55 #endif
56
57 #endif /* _PKIX_LOGGER_H */
OLDNEW
« no previous file with comments | « nss/lib/libpkix/pkix/util/pkix_list.c ('k') | nss/lib/libpkix/pkix/util/pkix_logger.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698