]> git.saurik.com Git - apple/security.git/blob - OSX/utilities/src/debugging_test.h
Security-58286.270.3.0.1.tar.gz
[apple/security.git] / OSX / utilities / src / debugging_test.h
1 //
2 // debugging_test.h
3 // Copyright (c) 2014 Apple Inc. All Rights Reserved.
4 //
5
6 //
7 // Interfaces exported for tests for debugging code.
8 //
9
10 #ifndef _SECURITY_UTILITIES_DEBUGGING_TEST_H_
11 #define _SECURITY_UTILITIES_DEBUGGING_TEST_H_
12
13 #include <CoreFoundation/CoreFoundation.h>
14 #include "utilities/debugging.h"
15
16 __BEGIN_DECLS
17
18 //
19 // These would all be static inside
20 // debugging.c, but unit tests can use them
21 //
22
23 void __security_debug_init(void);
24
25 bool IsScopeActive(int level, CFStringRef scope);
26 bool IsScopeActiveC(int level, const char *scope);
27
28 void ApplyScopeListForIDC(const char *scopeList, SecDebugScopeID whichID);
29
30 __END_DECLS
31
32 #endif