summaryrefslogtreecommitdiff
path: root/src/internal/slibtool_uninstall_impl.h
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2016-09-24 17:53:54 -0400
committermidipix <writeonce@midipix.org>2016-09-24 19:47:58 -0400
commit0fb20a657d44f0afd5f1feed096cfe434fb6b56f (patch)
tree14dd4fffaf77a6cbfff7182f64dcf32f43b8669b /src/internal/slibtool_uninstall_impl.h
parentd6e753a79665a44edb2832cb33793914ca549d44 (diff)
downloadslibtool-0fb20a657d44f0afd5f1feed096cfe434fb6b56f.tar.bz2
slibtool-0fb20a657d44f0afd5f1feed096cfe434fb6b56f.tar.xz
uninstall mode: initial implementation.
Diffstat (limited to 'src/internal/slibtool_uninstall_impl.h')
-rw-r--r--src/internal/slibtool_uninstall_impl.h25
1 files changed, 25 insertions, 0 deletions
diff --git a/src/internal/slibtool_uninstall_impl.h b/src/internal/slibtool_uninstall_impl.h
new file mode 100644
index 0000000..b78bf37
--- /dev/null
+++ b/src/internal/slibtool_uninstall_impl.h
@@ -0,0 +1,25 @@
+#ifndef SLIBTOOL_UNINSTALL_IMPL_H
+#define SLIBTOOL_UNINSTALL_IMPL_H
+
+#include "argv/argv.h"
+
+extern const struct argv_option slbt_uninstall_options[];
+
+enum uninstall_tags {
+ TAG_UNINSTALL_HELP,
+ TAG_UNINSTALL_VERSION,
+ TAG_UNINSTALL_FORCE,
+ TAG_UNINSTALL_RMDIR,
+ TAG_UNINSTALL_VERBOSE,
+ TAG_UNINSTALL_FORBIDDEN,
+ TAG_UNINSTALL_RECURSIVE = TAG_UNINSTALL_FORBIDDEN,
+};
+
+#define SLBT_UNINSTALL_HELP 0x0001
+#define SLBT_UNINSTALL_VERSION 0x0002
+#define SLBT_UNINSTALL_FORCE 0x0004
+#define SLBT_UNINSTALL_RMDIR 0x0008
+#define SLBT_UNINSTALL_VERBOSE 0x0010
+#define SLBT_UNINSTALL_FORBIDDEN 0x8000
+
+#endif