int ResolveLocker(USER_OPTIONS *attachOption);
#endif
#ifndef NO_AFS_SOURCE
+ #include <afsconfig.h>
+ #include <afs/param.h>
+ #include <roken.h>
+
#include <afs\stds.h>
#include <afs\smb_iocons.h>
#include <afs\afsint.h>
int code;
int rc;
struct ViceIoctl blob;
- struct VolumeStatus *status;
static PPIOCTL ppioctl = NULL;
static HINSTANCE hAfsDll = NULL;
blob.in_size = 0;
blob.out_size = sizeof(space);
blob.out = space;
-#if 0
- if (!(code = ppioctl(strPath, VIOCGETVOLSTAT, &blob, 1)))
- {
- bret = WINTORTURE_ASFDLL_ONLINE;
- status = (VolumeStatus *)space;
- if (!status->Online || !status->InService || !status->Blessed || status->NeedsSalvage)
- bret = WINTORTURE_ASFDLL_OFFLINE;
- }
-#else
+
errno = 0;
code = ppioctl(strPath, VIOC_PATH_AVAILABILITY, &blob, 1);
if (!code) {
break;
}
}
-#endif
}
else
bret = WINTORTURE_ASFPIOCTL_NOTFOUND;