]> git.saurik.com Git - apple/configd.git/blame - sctest/SCTestOptions.h
configd-1109.101.1.tar.gz
[apple/configd.git] / sctest / SCTestOptions.h
CommitLineData
43bfd57e
A
1//
2// This file is automatically generated. DO NOT EDIT!
3// To add options, see genSCTestOptions.c
4//
5#import <Foundation/Foundation.h>
6#import <getopt.h>
7
8extern const NSString * const kSCTestGlobalOptionCPU;
9extern const NSString * const kSCTestGlobalOptionHelp;
10extern const NSString * const kSCTestGlobalOptionTime;
11extern const NSString * const kSCTestGlobalOptionVerbose;
12extern const NSString * const kSCTestGlobalOptionWait;
13extern const NSString * const kSCTestDynamicStoreOptionDNS;
14extern const NSString * const kSCTestDynamicStoreOptionIPv4;
15extern const NSString * const kSCTestDynamicStoreOptionIPv6;
16extern const NSString * const kSCTestDynamicStoreOptionProxies;
17extern const NSString * const kSCTestPreferencesServiceList;
18extern const NSString * const kSCTestPreferencesServiceOrder;
19extern const NSString * const kSCTestConfigAgentDNSDomains;
20extern const NSString * const kSCTestConfigAgentDNSServers;
21extern const NSString * const kSCTestConfigAgentRemoveDNS;
22extern const NSString * const kSCTestConfigAgentFTPProxy;
23extern const NSString * const kSCTestConfigAgentGopherProxy;
24extern const NSString * const kSCTestConfigAgentHTTPProxy;
25extern const NSString * const kSCTestConfigAgentHTTPSProxy;
26extern const NSString * const kSCTestConfigAgentProxyMatchDomain;
27extern const NSString * const kSCTestConfigAgentRemoveProxy;
28extern const NSString * const kSCTestConfigAgentSOCKSProxy;
29extern const NSString * const kSCTestReachabilityAddress;
30extern const NSString * const kSCTestReachabilityHost;
31extern const NSString * const kSCTestReachabilityInterface;
32extern const NSString * const kSCTestReachabilityWatch;
33extern const NSString * const kSCTestUnitTestCommand;
34extern const NSString * const kSCTestUnitTestListTests;
35extern const NSString * const kSCTestUnitTestTestMethod;
36extern const NSString * const kSCTestUnitTestTestMethodList;
37
38
39
40#define kSCTestOptionEntries \
41 {"cpu", 0, NULL, 0}, \
42 {"help", 0, NULL, 0}, \
43 {"time", 0, NULL, 0}, \
44 {"verbose", 0, NULL, 0}, \
45 {"wait", 0, NULL, 0}, \
46 {"dns", 0, NULL, 0}, \
47 {"ipv4", 0, NULL, 0}, \
48 {"ipv6", 0, NULL, 0}, \
49 {"proxies", 0, NULL, 0}, \
50 {"service_list", 0, NULL, 0}, \
51 {"service_order", 0, NULL, 0}, \
52 {"dns_domain", 1, NULL, 0}, \
53 {"dns_servers", 1, NULL, 0}, \
54 {"remove_dns", 0, NULL, 0}, \
55 {"ftp_proxy", 1, NULL, 0}, \
56 {"gopher_proxy", 1, NULL, 0}, \
57 {"http_proxy", 1, NULL, 0}, \
58 {"https_proxy", 1, NULL, 0}, \
59 {"proxy_match_domain", 1, NULL, 0}, \
60 {"remove_proxy", 0, NULL, 0}, \
61 {"socks_proxy", 1, NULL, 0}, \
62 {"address", 1, NULL, 0}, \
63 {"host", 1, NULL, 0}, \
64 {"interface", 1, NULL, 0}, \
65 {"watch", 0, NULL, 0}, \
66 {"command", 1, NULL, 0}, \
67 {"list_tests", 0, NULL, 0}, \
68 {"test_method", 1, NULL, 0}, \
69 {"test_method_list", 0, NULL, 0}, \
78deefe8 70 {NULL, 0, NULL, 0},
43bfd57e
A
71
72#define kSCTestOptionHelp \
73 "\n============== global options =============\n"\
74 "-cpu : Prints the CPU usage after the test completes\n"\
75 "-help : Prints this very useful help!\n"\
76 "-time : Prints the time elapsed since the test was launched\n"\
77 "-verbose : Enables verbose mode\n"\
78 "-wait : Results in a wait for 'sctest'\n"\
79 "\n============== dynamic_store options =============\n"\
80 "-dns : Prints the global DNS information from the SCDynamicStore\n"\
81 "-ipv4 : Prints the global IPv4 information from the SCDynamicStore\n"\
82 "-ipv6 : Prints the global IPv6 information from the SCDynamicStore\n"\
83 "-proxies : Prints the global Proxy information from the SCDynamicStore\n"\
84 "\n============== preferences options =============\n"\
85 "-service_list : Prints the Network Services list from the preferences\n"\
86 "-service_order : Prints the Network Service order from the preferences\n"\
87 "\n============== config_agent options =============\n"\
88 "-dns_domain : Configures the DNS Servers for certain domains. A comma-separated list of domains can be specified. Default is 'apple.com'\n"\
89 "-dns_servers : Configures the specified DNS Servers. A comma-separated list of IP Addresses can be specified\n"\
90 "-remove_dns : Remove a dns configuration, previously configured via 'sctest'\n"\
91 "-ftp_proxy : Add a proxy agent with FTP proxy. Format of the argument is 'server:port'\n"\
92 "-gopher_proxy : Add a proxy agent with Gopher proxy. Format of the argument is 'server:port'\n"\
93 "-http_proxy : Add a proxy agent with HTTP proxy. Format of the argument is 'server:port'\n"\
94 "-https_proxy : Add a proxy agent with HTTPS proxy. Format of the argument is 'server:port'\n"\
1ef45fa4 95 "-proxy_match_domain : Configures the Proxy server for certain domains. A comma-separated list of domains can be specified. Default is 'apple.com'\n"\
43bfd57e
A
96 "-remove_proxy : Remove a proxy configuration, previously configured via 'sctest'\n"\
97 "-socks_proxy : Add a proxy agent with SOCKS proxy. Format of the argument is 'server:port'\n"\
98 "\n============== reachability options =============\n"\
99 "-address : Determine reachability to this address\n"\
100 "-host : Determine reachability to this host\n"\
101 "-interface : Determine reachability when scoped to this interface\n"\
102 "-watch : Watch for reachability changes\n"\
103 "\n============== unit_test options =============\n"\
104 "-command : Run a unit test for a specific command. If this option is not specified, unit-tests for all commands will be run\n"\
105 "-list_tests : List the test commands in a JSON format. This is for NPT compliance\n"\
106 "-test_method : Runs a specific unit test. List can be obtained by using the 'test_method_list' option\n"\
107 "-test_method_list : Lists all the unit tests. A specific one can be run using the 'test_method' option\n"\