Remove building with NOCRYPTO option
[minix.git] / minix / servers / devman / proto.h
blobbcc2ebbdf921d515372048e88caa80440b25da61
1 #ifndef _DEVMAN_PROTO_H
2 #define _DEVMAN_PROTO_H
4 /* buf.c */
5 void buf_init(char *ptr, size_t len, off_t off);
6 void buf_printf(char *fmt, ...);
7 void buf_append(char *data, size_t len);
8 ssize_t buf_result(void);
10 /* message handlers */
11 int do_add_device(message *m);
12 int do_del_device(message *m);
13 int do_bind_device(message *m);
14 int do_unbind_device(message *m);
16 /* local helper functions */
17 void devman_init_devices();
18 struct devman_device* devman_find_device(int devid);
19 void devman_get_device(struct devman_device *dev);
20 void devman_put_device(struct devman_device *dev);
22 #endif /* _DEVMAN_PROTO_H */