1 /* 2 * Copyright (c) 2009 Travis Geiselbrecht 3 * 4 * Use of this source code is governed by a MIT-style 5 * license that can be found in the LICENSE file or at 6 * https://opensource.org/licenses/MIT 7 */ 8 #pragma once 9 10 #include <sys/types.h> 11 12 /* examine and try to publish partitions on a particular device at a particular offset */ 13 int partition_publish(const char *device, off_t offset); 14 15 /* remove any published subdevices on this device */ 16 int partition_unpublish(const char *device); 17 18