summaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2016-03-06 13:11:29 -0500
committermidipix <writeonce@midipix.org>2016-03-08 14:21:06 -0500
commited069fb9d6bb25ac64ff02d558ff49334522c73b (patch)
treea077acc8aaef338360901932f3993f1dfaf2ebc8 /include
parentefd47f8650a7381ef2c2cf30df7971d6caae9b96 (diff)
downloadslibtool-ed069fb9d6bb25ac64ff02d558ff49334522c73b.tar.bz2
slibtool-ed069fb9d6bb25ac64ff02d558ff49334522c73b.tar.xz
added enum slbt_mode, representing slibtool's execution modes.
Diffstat (limited to 'include')
-rw-r--r--include/slibtool/slibtool.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/include/slibtool/slibtool.h b/include/slibtool/slibtool.h
index 4aec0cc..bbb538e 100644
--- a/include/slibtool/slibtool.h
+++ b/include/slibtool/slibtool.h
@@ -36,6 +36,18 @@ extern "C" {
#define SLBT_DRIVER_VERSION 0x0010
#define SLBT_DRIVER_DRY_RUN 0x0020
+/* execution modes */
+enum slbt_mode {
+ SLBT_MODE_UNKNOWN,
+ SLBT_MODE_CLEAN,
+ SLBT_MODE_COMPILE,
+ SLBT_MODE_EXECUTE,
+ SLBT_MODE_FINISH,
+ SLBT_MODE_INSTALL,
+ SLBT_MODE_LINK,
+ SLBT_MODE_UNINSTALL,
+};
+
/* unit action flags */
struct slbt_input {