reindent-20030715
[openafs.git] / src / sys / pioctl_nt.h
1 /*
2  * Copyright 2000, International Business Machines Corporation and others.
3  * All Rights Reserved.
4  * 
5  * This software has been released under the terms of the IBM Public
6  * License.  For details, see the LICENSE file in the top-level source
7  * directory or online at http://www.openafs.org/dl/license10.html
8  */
9
10 #ifndef OPENAFS_AFS_PIOCTL_H
11 #define OPENAFS_AFS_PIOCTL_H
12
13 /* define the basic DeviceIoControl structure for communicating with the
14  * cache manager.
15  */
16
17 /* looks like pioctl block from the Unix world */
18 typedef struct ViceIoctl {
19     long in_size;
20     long out_size;
21     void *in;
22     void *out;
23 } viceIoctl_t;
24
25 /* Fake error code since NT errno.h doesn't define it */
26 #include <afs/errmap_nt.h>
27
28 extern long pioctl(char *pathp, long opcode, struct ViceIoctl *blob,
29                    int follow);
30
31 #endif /* OPENAFS_AFS_PIOCTL_H */