]> git.saurik.com Git - apple/mdnsresponder.git/blob - Clients/dnssdutil/TestUtils.h
mDNSResponder-1310.40.42.tar.gz
[apple/mdnsresponder.git] / Clients / dnssdutil / TestUtils.h
1 //
2 // TestUtils.h
3 // mDNSResponder
4 //
5 // Copyright (c) 2019 Apple Inc. All rights reserved.
6 //
7
8 #ifndef __TestUtils_h
9 #define __TestUtils_h
10
11 #include <TargetConditionals.h>
12 #include <MacTypes.h>
13 #include <mach/mach.h>
14
15 #ifdef __cplusplus
16 extern "C" {
17 #endif
18
19 #define DNSSDUTIL_XCTEST "DNSSDUTIL_XCTEST"
20
21 bool run_xctest_named(const char *classname);
22 bool audit_token_for_pid(pid_t pid, const audit_token_t *token);
23
24 #ifdef __cplusplus
25 }
26 #endif
27
28 #endif // __TestUtils_h