aboutsummaryrefslogtreecommitdiff
path: root/include/applet_metadata.h
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2011-03-28 01:23:38 +0200
committerDenys Vlasenko <vda.linux@googlemail.com>2011-03-28 01:23:38 +0200
commit6ec1510f719ad7463d76eea9284428cc605d6b38 (patch)
treef692b2720d96ad1208682035a1cba498c803b998 /include/applet_metadata.h
parent4a2aecb53a193916a40594f7c40eab86fedd8f8e (diff)
downloadbusybox-w32-6ec1510f719ad7463d76eea9284428cc605d6b38.tar.gz
busybox-w32-6ec1510f719ad7463d76eea9284428cc605d6b38.tar.bz2
busybox-w32-6ec1510f719ad7463d76eea9284428cc605d6b38.zip
applet_tables: do not include libbb.h, that header ir for target builds
...and applets/applet_tables.c is built on *host*. Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'include/applet_metadata.h')
-rw-r--r--include/applet_metadata.h30
1 files changed, 30 insertions, 0 deletions
diff --git a/include/applet_metadata.h b/include/applet_metadata.h
new file mode 100644
index 000000000..566ef3517
--- /dev/null
+++ b/include/applet_metadata.h
@@ -0,0 +1,30 @@
1/* vi: set sw=4 ts=4: */
2/*
3 * Licensed under GPLv2 or later, see file LICENSE in this source tree.
4 */
5#ifndef APPLET_METADATA_H
6#define APPLET_METADATA_H 1
7
8/* Note: can be included by both host and target builds! */
9
10/* order matters: used as index into "install_dir[]" in appletlib.c */
11typedef enum bb_install_loc_t {
12 BB_DIR_ROOT = 0,
13 BB_DIR_BIN,
14 BB_DIR_SBIN,
15#if ENABLE_INSTALL_NO_USR
16 BB_DIR_USR_BIN = BB_DIR_BIN,
17 BB_DIR_USR_SBIN = BB_DIR_SBIN,
18#else
19 BB_DIR_USR_BIN,
20 BB_DIR_USR_SBIN,
21#endif
22} bb_install_loc_t;
23
24typedef enum bb_suid_t {
25 BB_SUID_DROP = 0,
26 BB_SUID_MAYBE,
27 BB_SUID_REQUIRE
28} bb_suid_t;
29
30#endif