File: common.h

package info (click to toggle)
parted 2.3-12
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 13,408 kB
  • sloc: ansic: 48,758; sh: 16,593; makefile: 835; asm: 36; sed: 16
file content (26 lines) | stat: -rw-r--r-- 605 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#include <parted/parted.h>

/* Create an empty disk image
 *
 * filename: file (with full path) where to write the disk image
 *     size: size of disk image (megabytes)
 */
char* _create_disk (const off_t size);

/* Create a disk label
 *
 *  dev: device to use when creating the label
 * type: label type
 */
PedDisk* _create_disk_label (PedDevice* dev, PedDiskType* type);

/* Return if a disk label is implemented
 *
 * label: disk label name
 */
int _implemented_disk_label (const char* label);

/* Test specific exception handler
 *
 */
PedExceptionOption _test_exception_handler (PedException* e);