Move primary cache code to libminixfs.
[minix.git] / common / include / sys / svrctl.h
blob1bdad0e331fc9bb171ca1763e75e69f5998b7d33
1 /*
2 sys/svrctl.h
4 Created: Feb 15, 1994 by Philip Homburg <philip@cs.vu.nl>
5 */
7 #ifndef _SYS__SVRCTL_H
8 #define _SYS__SVRCTL_H
10 #ifndef _TYPES_H
11 #include <minix/types.h>
12 #endif
14 /* Server control commands have the same encoding as the commands for ioctls. */
15 #include <minix/ioctl.h>
17 /* PM controls. */
18 #define PMGETPARAM _IOW('M', 5, struct sysgetenv)
19 #define PMSETPARAM _IOR('M', 7, struct sysgetenv)
21 /* VFS controls */
22 #define VFSSETPARAM _IOR('M', 130, struct sysgetenv)
23 #define VFSGETPARAM _IOR('M', 131, struct sysgetenv)
25 struct sysgetenv {
26 char *key; /* Name requested. */
27 size_t keylen; /* Length of name including \0. */
28 char *val; /* Buffer for returned data. */
29 size_t vallen; /* Size of return data buffer. */
32 int svrctl(int _request, void *_data);
34 #endif /* _SYS__SVRCTL_H */