aboutsummaryrefslogtreecommitdiff
path: root/include/busybox.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/busybox.h')
-rw-r--r--include/busybox.h25
1 files changed, 2 insertions, 23 deletions
diff --git a/include/busybox.h b/include/busybox.h
index be06817e3..315ef8f26 100644
--- a/include/busybox.h
+++ b/include/busybox.h
@@ -1,37 +1,16 @@
1/* vi: set sw=4 ts=4: */ 1/* vi: set sw=4 ts=4: */
2/* 2/*
3 * Busybox main internal header file
4 *
5 * Licensed under GPLv2 or later, see file LICENSE in this source tree. 3 * Licensed under GPLv2 or later, see file LICENSE in this source tree.
6 */ 4 */
7#ifndef BUSYBOX_H 5#ifndef BUSYBOX_H
8#define BUSYBOX_H 1 6#define BUSYBOX_H 1
9 7
10#include "libbb.h" 8#include "libbb.h"
9/* BB_DIR_foo and BB_SUID_bar constants: */
10#include "applet_metadata.h"
11 11
12PUSH_AND_SET_FUNCTION_VISIBILITY_TO_HIDDEN 12PUSH_AND_SET_FUNCTION_VISIBILITY_TO_HIDDEN
13 13
14/* order matters: used as index into "install_dir[]" in appletlib.c */
15typedef enum bb_install_loc_t {
16 BB_DIR_ROOT = 0,
17 BB_DIR_BIN,
18 BB_DIR_SBIN,
19#if ENABLE_INSTALL_NO_USR
20 BB_DIR_USR_BIN = BB_DIR_BIN,
21 BB_DIR_USR_SBIN = BB_DIR_SBIN,
22#else
23 BB_DIR_USR_BIN,
24 BB_DIR_USR_SBIN,
25#endif
26} bb_install_loc_t;
27
28typedef enum bb_suid_t {
29 BB_SUID_DROP = 0,
30 BB_SUID_MAYBE,
31 BB_SUID_REQUIRE
32} bb_suid_t;
33
34
35/* Defined in appletlib.c (by including generated applet_tables.h) */ 14/* Defined in appletlib.c (by including generated applet_tables.h) */
36/* Keep in sync with applets/applet_tables.c! */ 15/* Keep in sync with applets/applet_tables.c! */
37extern const char applet_names[]; 16extern const char applet_names[];