1
#ifndef __MODULEINTERFACE_H
2
#define __MODULEINTERFACE_H
4
/* Codes of the types of basic structures that are understood */
5
#define SD_CODE_BYTE (sizeof(u8))
6
#define INTERFACE_ID "INTERFACE"
8
#define SUBDOMAIN_INTERFACE_VERSION 2
15
SD_NAME, /* same as string except it is items name */
26
/* sd_ext tracks the kernel buffer and read position in it. The interface
27
* data is copied into a kernel buffer in subdomainfs and then handed off to
28
* the activate routines.
33
void *pos; /* pointer to current position in the buffer */
37
#endif /* __MODULEINTERFACE_H */