summaryrefslogtreecommitdiff
path: root/include/slibtool/slibtool_output.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/slibtool/slibtool_output.h')
-rw-r--r--include/slibtool/slibtool_output.h23
1 files changed, 23 insertions, 0 deletions
diff --git a/include/slibtool/slibtool_output.h b/include/slibtool/slibtool_output.h
new file mode 100644
index 0000000..263e4d7
--- /dev/null
+++ b/include/slibtool/slibtool_output.h
@@ -0,0 +1,23 @@
+#ifndef SLIBTOOL_OUTPUT_H
+#define SLIBTOOL_OUTPUT_H
+
+#include <stdint.h>
+
+#define SLBT_PRETTY(x) ((uint64_t)x << 32)
+
+/* output actions */
+#define SLBT_OUTPUT_ARCHIVE_MEMBERS 0x00000001
+#define SLBT_OUTPUT_ARCHIVE_HEADERS 0x00000002
+#define SLBT_OUTPUT_ARCHIVE_SYMBOLS 0x00000004
+#define SLBT_OUTPUT_ARCHIVE_ARMAPS 0x00000008
+#define SLBT_OUTPUT_ARCHIVE_MAPFILE 0x00000010
+#define SLBT_OUTPUT_ARCHIVE_DLSYMS 0x00000020
+#define SLBT_OUTPUT_ARCHIVE_NOSORT 0x00000040
+
+/* pretty-printer flags */
+#define SLBT_PRETTY_YAML SLBT_PRETTY(0x00000001)
+#define SLBT_PRETTY_POSIX SLBT_PRETTY(0x00000002)
+#define SLBT_PRETTY_HEXDATA SLBT_PRETTY(0x00000004)
+#define SLBT_PRETTY_VERBOSE SLBT_PRETTY(0x00000008)
+
+#endif