Remove building with NOCRYPTO option
[minix.git] / minix / drivers / storage / fbd / rule.h
blob1f081c15bc3c47118c83ee1ae7146f2e4cda8561
1 #ifndef _FBD_RULE_H
2 #define _FBD_RULE_H
4 #define MAX_RULES 16
6 extern int rule_ctl(unsigned long request, endpoint_t endpt,
7 cp_grant_id_t grant);
9 extern int rule_find(u64_t pos, size_t size, int flag);
11 extern void rule_pre_hook(iovec_t *iov, unsigned *count, size_t *size,
12 u64_t *pos);
13 extern void rule_io_hook(char *buf, size_t size, u64_t pos, int flag);
14 extern void rule_post_hook(size_t osize, int *result);
16 #define PRE_HOOK 0x1
17 #define IO_HOOK 0x2
18 #define POST_HOOK 0x4
20 #endif /* _FBD_RULE_H */