1 #ifndef _FBD_ACTION_H 2 #define _FBD_ACTION_H 3 4 extern int action_mask(struct fbd_rule *rule); 5 6 extern void action_pre_hook(struct fbd_rule *rule, iovec_t *iov, 7 unsigned *count, size_t *size, u64_t *pos); 8 extern void action_io_hook(struct fbd_rule *rule, char *buf, size_t size, 9 u64_t pos, int flag); 10 extern void action_post_hook(struct fbd_rule *rule, size_t osize, int *result); 11 12 #endif /* _FBD_ACTION_H */ 13