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 AFSDriverObject; 00045 00046 extern PDEVICE_OBJECT AFSDeviceObject; 00047 00048 extern PDEVICE_OBJECT AFSRDRDeviceObject; 00049 00050 extern FAST_IO_DISPATCH AFSFastIoDispatch; 00051 00052 extern UNICODE_STRING AFSRegistryPath; 00053 00054 extern ULONG AFSDebugFlags; 00055 00056 extern ULONG AFSTraceLevel; 00057 00058 extern ULONG AFSTraceComponent; 00059 00060 extern ULONG AFSMaxDirectIo; 00061 00062 extern ULONG AFSMaxDirtyFile; 00063 00064 extern HANDLE AFSSysProcess; 00065 00066 extern HANDLE AFSMUPHandle; 00067 00068 extern UNICODE_STRING AFSServerName; 00069 00070 extern UNICODE_STRING AFSGlobalRootName; 00071 00072 extern ERESOURCE AFSDbgLogLock; 00073 00074 extern ULONG AFSDbgLogRemainingLength; 00075 00076 extern char *AFSDbgCurrentBuffer; 00077 00078 extern char *AFSDbgBuffer; 00079 00080 extern ULONG AFSDbgLogCounter; 00081 00082 extern ULONG AFSDbgBufferLength; 00083 00084 extern ULONG AFSDbgLogFlags; 00085 00086 extern UNICODE_STRING AFSDumpFileLocation; 00087 00088 extern CACHE_MANAGER_CALLBACKS AFSCacheManagerCallbacks; 00089 00090 extern ULONG AFSAuthGroupFlags; 00091 00092 extern GUID AFSActiveAuthGroup; 00093 00094 extern GUID AFSNoPAGAuthGroup; 00095 00096 extern PAFSSetInformationToken AFSSetInformationToken; 00097 00098 extern KEVENT AFSDumpFileEvent; 00099 00100 extern UNICODE_STRING AFSDumpFileName; 00101 00102 extern void *AFSDumpBuffer; 00103 00104 extern ULONG AFSDumpBufferLength; 00105 00106 } 00107 00108 #endif /* _AFS_EXTERN_H */