summaryrefslogtreecommitdiffstats
path: root/libfdisk/src/libfdisk.h
diff options
context:
space:
mode:
authorKarel Zak2012-11-30 15:27:41 +0100
committerKarel Zak2013-03-11 11:20:40 +0100
commitd56a7c2330d2a361d3820f8ad9a5399fec47afae (patch)
tree79cb30cd341e869208dd79d74a45b2c7faedb815 /libfdisk/src/libfdisk.h
parenttests: add fdisk GPT test (diff)
downloadkernel-qcow2-util-linux-d56a7c2330d2a361d3820f8ad9a5399fec47afae.tar.gz
kernel-qcow2-util-linux-d56a7c2330d2a361d3820f8ad9a5399fec47afae.tar.xz
kernel-qcow2-util-linux-d56a7c2330d2a361d3820f8ad9a5399fec47afae.zip
libfdisk: add basic library files
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'libfdisk/src/libfdisk.h')
-rw-r--r--libfdisk/src/libfdisk.h35
1 files changed, 35 insertions, 0 deletions
diff --git a/libfdisk/src/libfdisk.h b/libfdisk/src/libfdisk.h
new file mode 100644
index 000000000..fcb69b76d
--- /dev/null
+++ b/libfdisk/src/libfdisk.h
@@ -0,0 +1,35 @@
+/*
+ * libfdisk.h - libfdisk API
+ *
+ * Copyright (C) 2012 Karel Zak <kzak@redhat.com>
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2.1 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License along
+ * with this program; if not, write to the Free Software Foundation, Inc.,
+ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+ */
+
+#ifndef _LIBFDISK_FDISK_H
+#define _LIBFDISK_FDISK_H
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+/* init.c */
+extern void fdisk_init_debug(int mask);
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif /* _LIBFDISK_FDISK_H */