windows-volume-status-plugin-20070705
[openafs.git] / src / WINNT / afsd / afsd.h
index f0423b4..a06adf6 100644 (file)
 
 #include <afs/param.h>
 
-#ifndef DJGPP
 BOOL InitClass(HANDLE);
 BOOL InitInstance(HANDLE, int);
 
 LONG APIENTRY MainWndProc(HWND, unsigned int, unsigned int, long);
 BOOL APIENTRY About(HWND, unsigned int, unsigned int, long);
-#endif /* !DJGPP */
 
-#ifndef DJGPP
 #include <nb30.h>
-#else /* DJGPP */
-#include <sys/farptr.h>
-#include <go32.h>
-#include "dosdefs95.h"
-#include "largeint95.h"
-#endif /* !DJGPP */
-
-#include "afsdicon.h"
 
 #include "cm.h"
 
-#include "krb.h"
-#include "krb_prot.h"
-/*#include <crypt.h>*/
-#include <afs/prs_fs.h>
-
 #include <osi.h>
 #include "cm_config.h"
 #include "cm_user.h"
@@ -47,10 +31,11 @@ BOOL APIENTRY About(HWND, unsigned int, unsigned int, long);
 #endif /* DISKCACHE95 */
 #include "cm_conn.h"
 #include "cm_aclent.h"
-#include "cm_cell.h"
 #include "cm_server.h"
+#include "cm_cell.h"
 #include "cm_scache.h"
 #include "cm_volume.h"
+#include "cm_volstat.h"
 #include "cm_dcache.h"
 #include "cm_access.h"
 #include "cm_utils.h"
@@ -64,14 +49,11 @@ BOOL APIENTRY About(HWND, unsigned int, unsigned int, long);
 #include "cm_freelance.h"
 #include "smb_ioctl.h"
 #include "afsd_init.h"
-#ifdef DJGPP
-#include "afs/afsmsg95.h"
-#else
 #include "afsd_eventlog.h"
-#endif
 
 #include <afs/vldbint.h>
 #include <afs/afsint.h>
+#include <afs/prs_fs.h>
 
 #define AFS_DAEMON_SERVICE_NAME AFSREG_CLT_SVC_NAME
 #define AFS_DAEMON_EVENT_NAME   AFSREG_CLT_SW_NAME
@@ -132,6 +114,7 @@ extern HANDLE WaitToTerminate;
 #undef  DFS_SUPPORT
 #define LOG_PACKET 1
 #undef  NOTSERVICE
+#define LOCK_TESTING 1
 
 #define WORKER_THREADS 10