X-Git-Url: https://git.saurik.com/apple/network_cmds.git/blobdiff_plain/07f470571f6fc2709bdcf62fad0e6c4c1bf4e1b9..2b484d24084b903459c5b416c06cd77b48c748b9:/ypserv.tproj/acl.c?ds=sidebyside diff --git a/ypserv.tproj/acl.c b/ypserv.tproj/acl.c index 6f0f1f5..4ac671d 100644 --- a/ypserv.tproj/acl.c +++ b/ypserv.tproj/acl.c @@ -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@ */ @@ -121,7 +120,7 @@ int size; } int -acl_check_host(addr) +yp_acl_check_host(addr) struct in_addr *addr; { struct aclent *p; @@ -175,7 +174,7 @@ struct in_addr *addr; } int -acl_init(file) +yp_acl_init(file) char *file; { char data_line[1024]; @@ -477,7 +476,7 @@ char *file; } int -acl_securenet(file) +yp_acl_securenet(file) char *file; { char data_line[1024]; @@ -630,7 +629,7 @@ char *file; } void -acl_reset() +yp_acl_reset() { struct aclent *p;