183785436b0d8f7d8f65a2d00b7836a3cec36d61
[openafs.git] / src / sys / pioctl_nt.h
1 /*
2  * Copyright (C)  1998  Transarc Corporation.  All rights reserved.
3  *
4  */
5
6 #ifndef TRANSARC_AFS_PIOCTL_H
7 #define TRANSARC_AFS_PIOCTL_H
8
9 #include <afs/param.h>
10 /* define the basic DeviceIoControl structure for communicating with the
11  * cache manager.
12  */
13
14 /* looks like pioctl block from the Unix world */
15 typedef struct ViceIoctl {
16         long in_size;
17         long out_size;
18         void *in;
19         void *out;
20 } viceIoctl_t;
21
22 /* Fake error code since NT errno.h doesn't define it */
23 #include <afs/errmap_nt.h>
24
25 extern long pioctl(char *pathp, long opcode, struct ViceIoctl *blob, int follow);
26
27 #endif /* TRANSARC_AFS_PIOCTL_H */