]> git.saurik.com Git - apple/configd.git/blame - scutil.tproj/scutil.h
configd-53.1.tar.gz
[apple/configd.git] / scutil.tproj / scutil.h
CommitLineData
5958d7c0
A
1/*
2 * Copyright (c) 2000 Apple Computer, Inc. All rights reserved.
3 *
4 * @APPLE_LICENSE_HEADER_START@
5 *
6 * The contents of this file constitute Original Code as defined in and
7 * are subject to the Apple Public Source License Version 1.1 (the
8 * "License"). You may not use this file except in compliance with the
9 * License. Please obtain a copy of the License at
10 * http://www.apple.com/publicsource and read it before using this file.
11 *
12 * This Original Code and all software distributed under the License are
13 * distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY KIND, EITHER
14 * EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
15 * INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
16 * FITNESS FOR A PARTICULAR PURPOSE OR NON-INFRINGEMENT. Please see the
17 * License for the specific language governing rights and limitations
18 * under the License.
19 *
20 * @APPLE_LICENSE_HEADER_END@
21 */
22
0fae82ee
A
23/*
24 * Modification History
25 *
26 * June 1, 2001 Allan Nathanson <ajn@apple.com>
27 * - public API conversion
28 *
29 * November 9, 2000 Allan Nathanson <ajn@apple.com>
30 * - initial revision
31 */
32
5958d7c0
A
33#ifndef _SC_H
34#define _SC_H
35
36#include <sys/cdefs.h>
37
0fae82ee 38#include <SystemConfiguration/SystemConfiguration.h>
a5f60add 39#include <SystemConfiguration/SCValidation.h>
0fae82ee
A
40#include <SystemConfiguration/SCPrivate.h>
41
5958d7c0 42
5958d7c0 43extern int nesting;
0fae82ee 44extern CFRunLoopSourceRef notifyRls;
5958d7c0 45extern CFMutableArrayRef sources;
0fae82ee
A
46extern SCDynamicStoreRef store;
47extern CFPropertyListRef value;
48
5958d7c0
A
49
50__BEGIN_DECLS
51
0fae82ee 52Boolean process_line (FILE *fp);
5958d7c0 53
0fae82ee
A
54void runLoopProcessInput (CFSocketRef s,
55 CFSocketCallBackType type,
56 CFDataRef address,
57 const void *data,
58 void *info);
5958d7c0
A
59
60__END_DECLS
61
62#endif /* !_SC_H */