]> git.saurik.com Git - apple/network_cmds.git/blobdiff - ypserv.tproj/ypserv.c
network_cmds-245.1.4.tar.gz
[apple/network_cmds.git] / ypserv.tproj / ypserv.c
index e38c696006fcd95a2d816a05dde3dee22d0f596b..f9c0e2b7c0c1f3f253d92a1b3f644daceea60021 100644 (file)
@@ -3,22 +3,21 @@
  *
  * @APPLE_LICENSE_HEADER_START@
  * 
- * Copyright (c) 1999-2003 Apple Computer, Inc.  All Rights Reserved.
- * 
- * 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.
+ * "Portions Copyright (c) 1999 Apple Computer, Inc.  All Rights
+ * Reserved.  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 1.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.apple.com/publicsource 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,
  * INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
- * 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.
+ * FITNESS FOR A PARTICULAR PURPOSE OR NON-INFRINGEMENT.  Please see the
+ * License for the specific language governing rights and limitations
+ * under the License."
  * 
  * @APPLE_LICENSE_HEADER_END@
  */
@@ -407,9 +406,9 @@ char *argv[];
        }
 
        if (aclfile != NULL) {
-               (void)acl_init(aclfile);
+               (void)yp_acl_init(aclfile);
        } else {
-               (void)acl_securenet(YP_SECURENET_FILE);
+               (void)yp_acl_securenet(YP_SECURENET_FILE);
        }
        if (xflag) {
                exit(1);
@@ -549,12 +548,12 @@ sig_child()
 void
 sig_hup()
 {
-       acl_reset();
+       yp_acl_reset();
        if (aclfile != NULL) {
                yplog("sig_hup: reread %s",aclfile);
-               (void)acl_init(aclfile);
+               (void)yp_acl_init(aclfile);
        } else {
                yplog("sig_hup: reread %s",YP_SECURENET_FILE);
-               (void)acl_securenet(YP_SECURENET_FILE);
+               (void)yp_acl_securenet(YP_SECURENET_FILE);
        }
 }