X-Git-Url: https://git.saurik.com/apple/xnu.git/blobdiff_plain/91447636331957f3d9b5ca5b508f07c526b0074d..0a7de7458d150b5d4dffc935ba399be265ef0a1a:/bsd/vfs/vfs_support.h?ds=sidebyside diff --git a/bsd/vfs/vfs_support.h b/bsd/vfs/vfs_support.h index 9e49a68a1..e47a46723 100644 --- a/bsd/vfs/vfs_support.h +++ b/bsd/vfs/vfs_support.h @@ -1,23 +1,29 @@ /* * Copyright (c) 2000-2004 Apple Computer, Inc. All rights reserved. * - * @APPLE_LICENSE_HEADER_START@ - * - * The contents of this file constitute Original Code as defined in and - * are subject to the Apple Public Source License Version 1.1 (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. - * - * This Original Code and all software distributed under the License are - * distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY KIND, EITHER + * @APPLE_OSREFERENCE_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. The rights granted to you under the License + * may not be used to create, or enable the creation or redistribution of, + * unlawful or unlicensed copies of an Apple operating system, or to + * circumvent, violate, or enable the circumvention or violation of, any + * terms of an Apple operating system software license agreement. + * + * 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, * INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, - * 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@ + * 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_OSREFERENCE_LICENSE_HEADER_END@ */ /* * Copyright (c) 1998 Apple Computer, Inc. All rights reserved. @@ -31,16 +37,15 @@ * * HISTORY * 18-Aug-1998 Umesh Vaishampayan (umeshv@apple.com) - * Created. + * Created. */ -#ifndef _VFS_VFS_SUPPORT_H_ -#define _VFS_VFS_SUPPORT_H_ +#ifndef _VFS_VFS_SUPPORT_H_ +#define _VFS_VFS_SUPPORT_H_ #include #include #include -#include #include #include #include @@ -51,7 +56,6 @@ #include #include #include -#include __BEGIN_DECLS extern int nop_create(struct vnop_create_args *ap); @@ -78,12 +82,6 @@ extern int err_getattr(struct vnop_getattr_args *ap); extern int nop_setattr(struct vnop_setattr_args *ap); extern int err_setattr(struct vnop_setattr_args *ap); -extern int nop_getattrlist(struct vnop_getattrlist_args *ap); -extern int err_getattrlist(struct vnop_getattrlist_args *ap); - -extern int nop_setattrlist(struct vnop_setattrlist_args *ap); -extern int err_setattrlist(struct vnop_setattrlist_args *ap); - extern int nop_read(struct vnop_read_args *ap); extern int err_read(struct vnop_read_args *ap); @@ -164,9 +162,6 @@ extern int err_pagein(struct vnop_pagein_args *ap); extern int nop_pageout(struct vnop_pageout_args *ap); extern int err_pageout(struct vnop_pageout_args *ap); -extern int nop_devblocksize(struct vnop_devblocksize_args *ap); -extern int err_devblocksize(struct vnop_devblocksize_args *ap); - extern int nop_searchfs(struct vnop_searchfs_args *ap); extern int err_searchfs(struct vnop_searchfs_args *ap); @@ -183,4 +178,4 @@ extern int nop_blockmap(struct vnop_blockmap_args *ap); extern int err_blockmap(struct vnop_blockmap_args *ap); __END_DECLS -#endif /* _VFS_VFS_SUPPORT_H_ */ +#endif /* _VFS_VFS_SUPPORT_H_ */