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