+__private_extern__ InputRef currentInput = NULL;
+__private_extern__ int nesting = 0;
+__private_extern__ CFRunLoopRef notifyRl = NULL;
+__private_extern__ CFRunLoopSourceRef notifyRls = NULL;
+__private_extern__ SCPreferencesRef prefs = NULL;
+__private_extern__ SCDynamicStoreRef store = NULL;
+__private_extern__ CFPropertyListRef value = NULL;
+__private_extern__ CFMutableArrayRef watchedKeys = NULL;
+__private_extern__ CFMutableArrayRef watchedPatterns = NULL;
+
+static const struct option longopts[] = {
+// { "debug", no_argument, NULL, 'd' },
+// { "verbose", no_argument, NULL, 'v' },
+// { "SPI", no_argument, NULL, 'p' },
+// { "check-reachability", required_argument, NULL, 'r' },
+// { "timeout", required_argument, NULL, 't' },
+// { "wait-key", required_argument, NULL, 'w' },
+ { "dns", no_argument, NULL, 0 },
+ { "get", required_argument, NULL, 0 },
+ { "help", no_argument, NULL, '?' },
+ { "net", no_argument, NULL, 0 },
+ { "proxy", no_argument, NULL, 0 },
+ { "set", required_argument, NULL, 0 },
+ { NULL, 0, NULL, 0 }
+};