Git-Url: http://git.frugalware.org/gitweb/gitweb.cgi?p=fwsetup-ng.git;a=commitdiff;h=d85f00d6a42a9c0a8808155faf1a83b6ef17dbe9
commit d85f00d6a42a9c0a8808155faf1a83b6ef17dbe9 Author: James Buren <[email protected]> Date: Mon Oct 15 12:59:23 2012 -0500 expose functions from block.c diff --git a/src/local.h b/src/local.h index 00432ee..d5e33f2 100644 --- a/src/local.h +++ b/src/local.h @@ -92,6 +92,15 @@ extern void device_close(struct device *device); extern struct disk *disk_open(struct device *device); extern void disk_new_table(struct disk *disk,const char *type); extern int disk_create_partition(struct disk *disk,long long size); +extern int disk_create_extended_partition(struct disk *disk); +extern int disk_create_logical_partition(struct disk *disk,long long size); +extern void disk_partition_set_purpose(struct disk *disk,int n,const char *purpose); +extern void disk_partition_set_active(struct disk *disk,int n,bool active); +extern int disk_partition_get_count(struct disk *disk); +extern const char *disk_partition_get_purpose(struct disk *disk,int n); +extern bool disk_partition_get_active(struct disk *disk,int n); +extern int disk_partition_get_number(struct disk *disk,int n); +extern long long disk_partition_get_size(struct disk *disk,int n); extern void disk_delete_partition(struct disk *disk); extern void disk_close(struct disk *disk); extern int ui_main(int argc,char **argv); _______________________________________________ Frugalware-git mailing list [email protected] http://frugalware.org/mailman/listinfo/frugalware-git
