]>
Commit | Line | Data |
---|---|---|
51601d48 A |
1 | /* -*- Mode: C; tab-width: 4 -*- |
2 | * | |
3 | * Copyright (c) 2012 Apple Inc. All rights reserved. | |
4 | * | |
5 | * Defines the common interface between mDNSResponder and the Private ClientLibrary(libdnsprivate.dylib) | |
6 | * Uses XPC as the IPC Mechanism | |
7 | * | |
8 | */ | |
9 | ||
10 | #ifndef DNS_XPC_H | |
11 | #define DNS_XPC_H | |
12 | ||
13 | #define kDNSProxyService "com.apple.mDNSResponder.dnsproxy" | |
14 | ||
15 | #define kDNSProxyParameters "DNSProxyParameters" | |
16 | ||
17 | #define kDNSInIfindex0 "InputArrayInterfaceIndex[0]" | |
18 | #define kDNSInIfindex1 "InputArrayInterfaceIndex[1]" | |
19 | #define kDNSInIfindex2 "InputArrayInterfaceIndex[2]" | |
20 | #define kDNSInIfindex3 "InputArrayInterfaceIndex[3]" | |
21 | #define kDNSInIfindex4 "InputArrayInterfaceIndex[4]" | |
22 | ||
23 | #define kDNSOutIfindex "OutputInterfaceIndex" | |
24 | ||
25 | #define kDNSDaemonReply "DaemonReplyStatusToClient" | |
26 | ||
27 | typedef enum | |
28 | { | |
29 | kDNSMsgReceived = 0, | |
30 | kDNSDaemonEngaged | |
31 | } DaemonReplyStatusCodes; | |
32 | ||
33 | #endif // DNS_XPC_H |