]> git.saurik.com Git - apple/configd.git/blob - scutil.tproj/notify.h
configd-84.tar.gz
[apple/configd.git] / scutil.tproj / notify.h
1 /*
2 * Copyright (c) 2000 Apple Computer, Inc. All rights reserved.
3 *
4 * @APPLE_LICENSE_HEADER_START@
5 *
6 * Copyright (c) 1999-2003 Apple Computer, Inc. All Rights Reserved.
7 *
8 * This file contains Original Code and/or Modifications of Original Code
9 * as defined in and that are subject to the Apple Public Source License
10 * Version 2.0 (the 'License'). You may not use this file except in
11 * compliance with the License. Please obtain a copy of the License at
12 * http://www.opensource.apple.com/apsl/ and read it before using this
13 * file.
14 *
15 * The Original Code and all software distributed under the License are
16 * distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
17 * EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
18 * INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
19 * FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
20 * Please see the License for the specific language governing rights and
21 * limitations under the License.
22 *
23 * @APPLE_LICENSE_HEADER_END@
24 */
25
26 /*
27 * Modification History
28 *
29 * June 1, 2001 Allan Nathanson <ajn@apple.com>
30 * - public API conversion
31 *
32 * November 9, 2000 Allan Nathanson <ajn@apple.com>
33 * - initial revision
34 */
35
36 #ifndef _NOTIFY_H
37 #define _NOTIFY_H
38
39 #include <sys/cdefs.h>
40
41 __BEGIN_DECLS
42
43 void storeCallback (SCDynamicStoreRef store,
44 CFArrayRef changedKeys,
45 void *info);
46
47 void do_notify_list (int argc, char **argv);
48 void do_notify_add (int argc, char **argv);
49 void do_notify_remove (int argc, char **argv);
50 void do_notify_changes (int argc, char **argv);
51 void do_notify_watch (int argc, char **argv);
52 void do_notify_wait (int argc, char **argv);
53 void do_notify_callback (int argc, char **argv);
54 void do_notify_signal (int argc, char **argv);
55 void do_notify_file (int argc, char **argv);
56 void do_notify_cancel (int argc, char **argv);
57
58 __END_DECLS
59
60 #endif /* !_NOTIFY_H */