]> git.saurik.com Git - apple/configd.git/blame - scutil.tproj/tests.h
configd-802.20.7.tar.gz
[apple/configd.git] / scutil.tproj / tests.h
CommitLineData
5958d7c0 1/*
78403150 2 * Copyright (c) 2000, 2001, 2004, 2007, 2011, 2012, 2014 Apple Inc. All rights reserved.
5958d7c0
A
3 *
4 * @APPLE_LICENSE_HEADER_START@
78403150 5 *
009ee3c6
A
6 * This file contains Original Code and/or Modifications of Original Code
7 * as defined in and that are subject to the Apple Public Source License
8 * Version 2.0 (the 'License'). You may not use this file except in
9 * compliance with the License. Please obtain a copy of the License at
10 * http://www.opensource.apple.com/apsl/ and read it before using this
11 * file.
78403150 12 *
009ee3c6
A
13 * The Original Code and all software distributed under the License are
14 * distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
5958d7c0
A
15 * EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
16 * INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
009ee3c6
A
17 * FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
18 * Please see the License for the specific language governing rights and
19 * limitations under the License.
78403150 20 *
5958d7c0
A
21 * @APPLE_LICENSE_HEADER_END@
22 */
23
0fae82ee
A
24/*
25 * Modification History
26 *
27 * July 9, 2001 Allan Nathanson <ajn@apple.com>
28 * - added "-r" option for checking network reachability
29 * - added "-w" option to check/wait for the presence of a
30 * dynamic store key.
31 *
32 * November 9, 2000 Allan Nathanson <ajn@apple.com>
33 * - initial revision
34 */
35
5958d7c0
A
36#ifndef _TESTS_H
37#define _TESTS_H
38
39#include <sys/cdefs.h>
40
41__BEGIN_DECLS
42
dbf6a266 43void do_checkReachability (int argc, char **argv);
a40a14f8 44void do_watchReachability (int argc, char **argv);
5e9ce69e 45void do_renew (char *interface);
dbf6a266 46void do_showDNSConfiguration (int argc, char **argv);
78403150 47void do_watchDNSConfiguration (int argc, char **argv);
dbf6a266
A
48void do_showProxyConfiguration (int argc, char **argv);
49void do_snapshot (int argc, char **argv);
50void do_wait (char *waitKey, int timeout);
78403150
A
51void do_showNWI (int argc, char **argv);
52void do_watchNWI (int argc, char **argv);
5958d7c0
A
53
54__END_DECLS
55
56#endif /* !_TESTS_H */