summaryrefslogtreecommitdiffstats
path: root/fdisk.h
diff options
context:
space:
mode:
Diffstat (limited to 'fdisk.h')
-rw-r--r--fdisk.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/fdisk.h b/fdisk.h
index 496b6f7..39b4c95 100644
--- a/fdisk.h
+++ b/fdisk.h
@@ -39,15 +39,23 @@ typedef struct {
struct fdisk_partition *pa;
} PartitionObject;
+typedef struct {
+ PyObject_HEAD
+ struct fdisk_parttype *type;
+} PartTypeObject;
+
extern PyTypeObject ContextType;
extern PyTypeObject PartitionType;
+extern PyTypeObject PartTypeType;
extern void Context_AddModuleObject(PyObject *mod);
extern void Label_AddModuleObject(PyObject *mod);
extern void Partition_AddModuleObject(PyObject *mod);
+extern void PartType_AddModuleObject(PyObject *mod);
extern PyObject *PyObjectResultStr(const char *s);
extern PyObject *PyObjectResultLabel(struct fdisk_label *lb);
extern PyObject *PyObjectResultPartition(struct fdisk_partition *pa);
+extern PyObject *PyObjectResultPartType(struct fdisk_parttype *t);
#endif