From ed069fb9d6bb25ac64ff02d558ff49334522c73b Mon Sep 17 00:00:00 2001 From: midipix Date: Sun, 6 Mar 2016 13:11:29 -0500 Subject: added enum slbt_mode, representing slibtool's execution modes. --- include/slibtool/slibtool.h | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'include') 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 { -- cgit v1.2.3