From 0fb20a657d44f0afd5f1feed096cfe434fb6b56f Mon Sep 17 00:00:00 2001 From: midipix Date: Sat, 24 Sep 2016 17:53:54 -0400 Subject: uninstall mode: initial implementation. --- src/internal/slibtool_uninstall_impl.h | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 src/internal/slibtool_uninstall_impl.h (limited to 'src/internal/slibtool_uninstall_impl.h') 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 -- cgit v1.2.3