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
23void __security_debug_init(void);
24
25bool IsScopeActive(int level, CFStringRef scope);
26bool IsScopeActiveC(int level, const char *scope);
27
28void ApplyScopeListForIDC(const char *scopeList, SecDebugScopeID whichID);
29
30__END_DECLS
31
32#endif
33