| * Copyright (C) 2001, 2002 Jeff Dike (jdike@karaya.com) |
| #ifndef __MCONSOLE_KERN_H__ |
| #define __MCONSOLE_KERN_H__ |
| struct mc_request request; |
| /* All these methods are called in process context. */ |
| int (*config)(char *, char **); |
| int (*get_config)(char *, char *, int, char **); |
| int (*id)(char **, int *, int *); |
| int (*remove)(int, char **); |
| #define CONFIG_CHUNK(str, size, current, chunk, end) \ |
| current += strlen(chunk); \ |
| extern void mconsole_register_dev(struct mc_device *new); |
| static inline void mconsole_register_dev(struct mc_device *new) |