]> git.saurik.com Git - apple/mdnsresponder.git/blob - mDNSMacOSX/helper-server.h
mDNSResponder-212.1.tar.gz
[apple/mdnsresponder.git] / mDNSMacOSX / helper-server.h
1 /* -*- Mode: C; tab-width: 4 -*-
2 *
3 * Copyright (c) 2007 Apple Inc. All rights reserved.
4 *
5 * Licensed under the Apache License, Version 2.0 (the "License");
6 * you may not use this file except in compliance with the License.
7 * You may obtain a copy of the License at
8 *
9 * http://www.apache.org/licenses/LICENSE-2.0
10 *
11 * Unless required by applicable law or agreed to in writing, software
12 * distributed under the License is distributed on an "AS IS" BASIS,
13 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 * See the License for the specific language governing permissions and
15 * limitations under the License.
16
17 Change History (most recent first):
18
19 $Log: helper-server.h,v $
20 Revision 1.5 2009/02/06 03:06:49 mcguire
21 <rdar://problem/5858533> Adopt vproc_transaction API in mDNSResponder
22
23 Revision 1.4 2009/01/28 03:17:19 mcguire
24 <rdar://problem/5858535> helper: Adopt vproc_transaction API
25
26 Revision 1.3 2007/09/07 22:44:03 mcguire
27 <rdar://problem/5448420> Move CFUserNotification code to mDNSResponderHelper
28
29 Revision 1.2 2007/08/23 21:39:01 cheshire
30 Made code layout style consistent with existing project style; added $Log header
31
32 Revision 1.1 2007/08/08 22:34:58 mcguire
33 <rdar://problem/5197869> Security: Run mDNSResponder as user id mdnsresponder instead of root
34 */
35
36 #ifndef H_HELPER_SERVER_H
37 #define H_HELPER_SERVER_H
38
39 extern void helplog(int, const char *, ...);
40 extern void pause_idle_timer(void);
41 extern void unpause_idle_timer(void);
42 extern void update_idle_timer(void);
43 extern uid_t mDNSResponderUID;
44 extern uid_t mDNSResponderGID;
45 extern CFRunLoopRef gRunLoop;
46 #define debug(...) debug_(__func__, __VA_ARGS__)
47 extern void debug_(const char *func, const char *fmt, ...);
48
49 #endif /* H_HELPER_SERVER_H */