getifaddrs: add un-namespaced alias
[minix.git] / drivers / fbd / rule.h
blobbf3e6dfc65408ba533d892d53b16fcafc58a157b
1 #ifndef _FBD_RULE_H
2 #define _FBD_RULE_H
4 #define MAX_RULES 16
6 extern int rule_ctl(int request, endpoint_t endpt, cp_grant_id_t grant);
8 extern int rule_find(u64_t pos, size_t size, int flag);
10 extern void rule_pre_hook(iovec_t *iov, unsigned *count, size_t *size,
11 u64_t *pos);
12 extern void rule_io_hook(char *buf, size_t size, u64_t pos, int flag);
13 extern void rule_post_hook(size_t osize, int *result);
15 #define PRE_HOOK 0x1
16 #define IO_HOOK 0x2
17 #define POST_HOOK 0x4
19 #endif /* _FBD_RULE_H */