]>
git.saurik.com Git - apple/mdnsresponder.git/blob - mDNSMacOSX/helper-server.h
1 /* -*- Mode: C; tab-width: 4 -*-
3 * Copyright (c) 2007 Apple Inc. All rights reserved.
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
9 * http://www.apache.org/licenses/LICENSE-2.0
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.
17 Change History (most recent first):
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
23 Revision 1.4 2009/01/28 03:17:19 mcguire
24 <rdar://problem/5858535> helper: Adopt vproc_transaction API
26 Revision 1.3 2007/09/07 22:44:03 mcguire
27 <rdar://problem/5448420> Move CFUserNotification code to mDNSResponderHelper
29 Revision 1.2 2007/08/23 21:39:01 cheshire
30 Made code layout style consistent with existing project style; added $Log header
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
36 #ifndef H_HELPER_SERVER_H
37 #define H_HELPER_SERVER_H
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
, ...);
49 #endif /* H_HELPER_SERVER_H */