]> git.saurik.com Git - apple/configd.git/blobdiff - scutil.tproj/net.h
configd-802.40.13.tar.gz
[apple/configd.git] / scutil.tproj / net.h
index 05bbb8e8e931ed727542bdd02252b7bae0261335..d838285ae1475fd885098be55cc7bdd3695f5482 100644 (file)
@@ -1,15 +1,15 @@
 /*
- * Copyright (c) 2004, 2006 Apple Computer, Inc. All rights reserved.
+ * Copyright (c) 2004, 2006, 2011, 2014 Apple Inc. All rights reserved.
  *
  * @APPLE_LICENSE_HEADER_START@
- * 
+ *
  * This file contains Original Code and/or Modifications of Original Code
  * as defined in and that are subject to the Apple Public Source License
  * Version 2.0 (the 'License'). You may not use this file except in
  * compliance with the License. Please obtain a copy of the License at
  * http://www.opensource.apple.com/apsl/ and read it before using this
  * file.
- * 
+ *
  * The Original Code and all software distributed under the License are
  * distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  * EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
@@ -17,7 +17,7 @@
  * FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  * Please see the License for the specific language governing rights and
  * limitations under the License.
- * 
+ *
  * @APPLE_LICENSE_HEADER_END@
  */
 
@@ -96,6 +96,7 @@ Boolean               _process_options(optionsRef             options,
                                 char                   **argv,
                                 CFMutableDictionaryRef newConfiguration);
 
+CF_RETURNS_RETAINED
 CFNumberRef    _copy_number    (const char *arg);
 
 CFIndex                _find_option    (const char     *option,
@@ -108,24 +109,25 @@ CFIndex           _find_selection (CFStringRef    choice,
 
 void           _show_entity    (CFDictionaryRef entity, CFStringRef prefix);
 
-void   do_net_init             (void);
-void   do_net_quit             (int argc, char **argv);
-
-void   do_net_open             (int argc, char **argv);
-void   do_net_commit           (int argc, char **argv);
-void   do_net_apply            (int argc, char **argv);
-void   do_net_close            (int argc, char **argv);
-
-void   do_net_create           (int argc, char **argv);
-void   do_net_disable          (int argc, char **argv);
-void   do_net_enable           (int argc, char **argv);
-void   do_net_remove           (int argc, char **argv);
-void   do_net_select           (int argc, char **argv);
-void   do_net_set              (int argc, char **argv);
-void   do_net_show             (int argc, char **argv);
-void   do_net_update           (int argc, char **argv);
-
-void   do_net_snapshot         (int argc, char **argv);
+void           do_net_init     (void);
+void           do_net_quit     (int argc, char **argv);
+
+void           do_net_open     (int argc, char **argv);
+void           do_net_commit   (int argc, char **argv);
+void           do_net_apply    (int argc, char **argv);
+void           do_net_close    (int argc, char **argv);
+
+void           do_net_create   (int argc, char **argv);
+void           do_net_disable  (int argc, char **argv);
+void           do_net_enable   (int argc, char **argv);
+void           do_net_migrate  (int argc, char **argv);
+void           do_net_remove   (int argc, char **argv);
+void           do_net_select   (int argc, char **argv);
+void           do_net_set      (int argc, char **argv);
+void           do_net_show     (int argc, char **argv);
+void           do_net_update   (int argc, char **argv);
+
+void           do_net_snapshot (int argc, char **argv);
 
 __END_DECLS