1N/A/* libparted - a library for manipulating disk partitions
1N/A Copyright (C) 2008-2010 Free Software Foundation, Inc.
1N/A
1N/A This program is free software; you can redistribute it and/or modify
1N/A it under the terms of the GNU General Public License as published by
1N/A the Free Software Foundation; either version 3 of the License, or
1N/A (at your option) any later version.
1N/A
1N/A This program is distributed in the hope that it will be useful,
1N/A but WITHOUT ANY WARRANTY; without even the implied warranty of
1N/A MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1N/A GNU General Public License for more details.
1N/A
1N/A You should have received a copy of the GNU General Public License
1N/A along with this program. If not, see <http://www.gnu.org/licenses/>. */
1N/A
1N/A#include <stddef.h>
1N/A#include <parted/disk.h>
1N/A
1N/Aint ptt_write_sector (PedDisk const *disk, void const *buf, size_t buflen);
1N/Aint ptt_read_sector (PedDevice const *dev, PedSector sector_num, void **buf);
1N/Aint ptt_read_sectors (PedDevice const *dev, PedSector start_sector,
1N/A PedSector n_sectors, void **buf);
1N/Aint ptt_clear_sectors (PedDevice *dev, PedSector start, PedSector count);
1N/Aint ptt_partition_max_start_len (char const *label_type,
1N/A const PedPartition *part);
1N/A
1N/Aint ptt_partition_max_start_sector (char const *pt_type, PedSector *max);
1N/Aint ptt_partition_max_length (char const *pt_type, PedSector *max);