btrfs-util.h revision 0d6e763b48cabe8899a20823b015c9a988e38659
d29201dd5328b88140ce050100693c501852657dChristian Maeder/*-*- Mode: C; c-basic-offset: 8; indent-tabs-mode: nil -*-*/
7165a916d2fa1bf87c4741ec63b253413eebbf69Karl Luc This file is part of systemd.
98890889ffb2e8f6f722b00e265a211f13b5a861Corneliu-Claudiu Prodescu Copyright 2014 Lennart Poettering
cacbb5e3100fb85d23d1614cace3a8662801f2e6Eugen Kuksa systemd is free software; you can redistribute it and/or modify it
51846950b4b1f31342008cf17f667859a5f21949Christian Maeder under the terms of the GNU Lesser General Public License as published by
51846950b4b1f31342008cf17f667859a5f21949Christian Maeder the Free Software Foundation; either version 2.1 of the License, or
51846950b4b1f31342008cf17f667859a5f21949Christian Maeder (at your option) any later version.
51846950b4b1f31342008cf17f667859a5f21949Christian Maeder systemd is distributed in the hope that it will be useful, but
51846950b4b1f31342008cf17f667859a5f21949Christian Maeder WITHOUT ANY WARRANTY; without even the implied warranty of
51846950b4b1f31342008cf17f667859a5f21949Christian Maeder MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
51846950b4b1f31342008cf17f667859a5f21949Christian Maeder Lesser General Public License for more details.
e16b3696b2c173aac14200321868ed81b8f7dc69Christian Maeder You should have received a copy of the GNU Lesser General Public License
75067b1beba1380cde707c30e7fc050d86f6927fKarl Luc along with systemd; If not, see <http://www.gnu.org/licenses/>.
75067b1beba1380cde707c30e7fc050d86f6927fKarl Lucint btrfs_subvol_snapshot(const char *old_path, const char *new_path, bool read_only, bool fallback_copy);
75067b1beba1380cde707c30e7fc050d86f6927fKarl Lucint btrfs_subvol_set_read_only(const char *path, bool b);
1ea7fb6b0f66210bc0d3cb995f1b655277b33884Eugen Kuksaint btrfs_subvol_get_info_fd(int fd, BtrfsSubvolInfo *info);
d6ce032cac688f3698be7133d27f53d3967e6749Christian Maederint btrfs_subvol_get_quota_fd(int fd, BtrfsQuotaInfo *quota);
75067b1beba1380cde707c30e7fc050d86f6927fKarl Lucint btrfs_clone_range(int infd, uint64_t in_offset, int ofd, uint64_t out_offset, uint64_t sz);
9e5811a3323b00d6ff8d3fe91a185de1ab31150bChristian Maederint btrfs_get_block_device(const char *path, dev_t *dev);
75067b1beba1380cde707c30e7fc050d86f6927fKarl Lucint btrfs_defrag(const char *p);