2005-04-21 16:53:53 +02:00
|
|
|
/*
|
|
|
|
sys/svrctl.h
|
|
|
|
|
|
|
|
Created: Feb 15, 1994 by Philip Homburg <philip@cs.vu.nl>
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef _SYS__SVRCTL_H
|
|
|
|
#define _SYS__SVRCTL_H
|
|
|
|
|
|
|
|
#ifndef _TYPES_H
|
2009-11-06 09:46:22 +01:00
|
|
|
#include <minix/types.h>
|
2005-04-21 16:53:53 +02:00
|
|
|
#endif
|
|
|
|
|
|
|
|
/* Server control commands have the same encoding as the commands for ioctls. */
|
|
|
|
#include <minix/ioctl.h>
|
|
|
|
|
2010-01-05 20:39:27 +01:00
|
|
|
/* PM controls. */
|
2010-06-10 16:04:46 +02:00
|
|
|
#define PMGETPARAM _IOW('M', 5, struct sysgetenv)
|
|
|
|
#define PMSETPARAM _IOR('M', 7, struct sysgetenv)
|
2005-04-21 16:53:53 +02:00
|
|
|
|
2012-03-30 11:24:44 +02:00
|
|
|
/* VFS controls */
|
|
|
|
#define VFSSETPARAM _IOR('M', 130, struct sysgetenv)
|
|
|
|
#define VFSGETPARAM _IOR('M', 131, struct sysgetenv)
|
|
|
|
|
2005-04-21 16:53:53 +02:00
|
|
|
struct sysgetenv {
|
|
|
|
char *key; /* Name requested. */
|
|
|
|
size_t keylen; /* Length of name including \0. */
|
|
|
|
char *val; /* Buffer for returned data. */
|
|
|
|
size_t vallen; /* Size of return data buffer. */
|
|
|
|
};
|
|
|
|
|
2012-03-24 16:16:34 +01:00
|
|
|
int svrctl(int _request, void *_data);
|
2005-04-21 16:53:53 +02:00
|
|
|
|
|
|
|
#endif /* _SYS__SVRCTL_H */
|