OpenAFS
OpenAFS distributed network file system
|
00001 /* 00002 * Copyright (c) 2008, 2009, 2010, 2011 Kernel Drivers, LLC. 00003 * Copyright (c) 2009, 2010, 2011 Your File System, Inc. 00004 * All rights reserved. 00005 * 00006 * Redistribution and use in source and binary forms, with or without 00007 * modification, are permitted provided that the following conditions 00008 * are met: 00009 * 00010 * - Redistributions of source code must retain the above copyright notice, 00011 * this list of conditions and the following disclaimer. 00012 * - Redistributions in binary form must reproduce the above copyright 00013 * notice, 00014 * this list of conditions and the following disclaimer in the 00015 * documentation 00016 * and/or other materials provided with the distribution. 00017 * - Neither the names of Kernel Drivers, LLC and Your File System, Inc. 00018 * nor the names of their contributors may be used to endorse or promote 00019 * products derived from this software without specific prior written 00020 * permission from Kernel Drivers, LLC and Your File System, Inc. 00021 * 00022 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 00023 * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED 00024 * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A 00025 * PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER 00026 * OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, 00027 * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, 00028 * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR 00029 * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF 00030 * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 00031 * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 00032 * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 00033 */ 00034 00035 #ifndef _AFS_EXTERN_H 00036 #define _AFS_EXTERN_H 00037 // 00038 // File: AFSExtern.h 00039 // 00040 // 00041 00042 extern "C" { 00043 00044 extern PDRIVER_OBJECT AFSLibraryDriverObject; 00045 00046 extern PDEVICE_OBJECT AFSLibraryDeviceObject; 00047 00048 extern PDEVICE_OBJECT AFSControlDeviceObject; 00049 00050 extern PDEVICE_OBJECT AFSRDRDeviceObject; 00051 00052 extern FAST_IO_DISPATCH AFSFastIoDispatch; 00053 00054 extern UNICODE_STRING AFSRegistryPath; 00055 00056 extern ULONG AFSDebugFlags; 00057 00058 extern CACHE_MANAGER_CALLBACKS *AFSLibCacheManagerCallbacks; 00059 00060 extern HANDLE AFSSysProcess; 00061 00062 extern UNICODE_STRING AFSServerName; 00063 00064 extern AFSVolumeCB *AFSGlobalRoot; 00065 00066 extern UNICODE_STRING AFSPIOCtlName; 00067 00068 extern UNICODE_STRING AFSGlobalRootName; 00069 00070 extern AFSDirectoryCB *AFSSpecialShareNames; 00071 00072 extern AFSDirectoryCB *AFSGlobalDotDirEntry; 00073 00074 extern AFSDirectoryCB *AFSGlobalDotDotDirEntry; 00075 00076 extern PAFSProcessRequest AFSProcessRequest; 00077 00078 extern PAFSDbgLogMsg AFSDbgLogMsg; 00079 00080 extern PAFSAddConnectionEx AFSAddConnectionEx; 00081 00082 extern PAFSExAllocatePoolWithTag AFSExAllocatePoolWithTag; 00083 00084 extern PAFSExFreePoolWithTag AFSExFreePoolWithTag; 00085 00086 extern PAFSRetrieveAuthGroup AFSRetrieveAuthGroupFnc; 00087 00088 extern ULONG AFSLibControlFlags; 00089 00090 extern void *AFSLibCacheBaseAddress; 00091 00092 extern LARGE_INTEGER AFSLibCacheLength; 00093 00094 extern PAFSRtlSetSaclSecurityDescriptor AFSRtlSetSaclSecurityDescriptor; 00095 00096 extern SECURITY_DESCRIPTOR *AFSDefaultSD; 00097 00098 extern PAFSRtlSetGroupSecurityDescriptor AFSRtlSetGroupSecurityDescriptor; 00099 00100 extern SID_IDENTIFIER_AUTHORITY SeWorldSidAuthority; 00101 00102 } 00103 00104 #endif /* _AFS_EXTERN_H */