#ifndef _LJ_BTRFS_H
#define _LJ_BTRFS_H
#include <sys/types.h>
#include "trans.h"
#include "journal.h"
int btrfs_clone_range(int src_fd, off_t src_off, size_t src_len,
int dst_fd, off_t dst_off);
/* TODO: better name for this, maybe put it inside trans.c */
ssize_t attempt_btrfs_clone_ranges(int fd, struct operation *head_op,
struct journal_op *jop);
#endif