aboutsummaryrefslogtreecommitdiff
path: root/include/applet_metadata.h
diff options
context:
space:
mode:
authorRon Yorston <rmy@pobox.com>2012-03-22 14:11:12 +0000
committerRon Yorston <rmy@pobox.com>2012-03-22 14:11:12 +0000
commit67758035a4fe040c6ac69b39d61bcd6bddd7b827 (patch)
treea4a1db7f54c16d12fabe2626b8f1e235cd694e9e /include/applet_metadata.h
parent811c449748d5bd0505f8510e5582892f94ac0cda (diff)
parentb83c9704128dd106071184e4b00335a3b8486857 (diff)
downloadbusybox-w32-67758035a4fe040c6ac69b39d61bcd6bddd7b827.tar.gz
busybox-w32-67758035a4fe040c6ac69b39d61bcd6bddd7b827.tar.bz2
busybox-w32-67758035a4fe040c6ac69b39d61bcd6bddd7b827.zip
Merge commit 'b83c9704128dd106071184e4b00335a3b8486857' into merge
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