Changeset 3232 in MondoRescue for branches/3.2/mindi-busybox/include/busybox.h
- Timestamp:
- Jan 1, 2014, 12:47:38 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/3.2/mindi-busybox/include/busybox.h
r2725 r3232 1 1 /* vi: set sw=4 ts=4: */ 2 2 /* 3 * Busybox main internal header file4 *5 3 * Licensed under GPLv2 or later, see file LICENSE in this source tree. 6 4 */ … … 9 7 10 8 #include "libbb.h" 9 /* BB_DIR_foo and BB_SUID_bar constants: */ 10 #include "applet_metadata.h" 11 11 12 12 PUSH_AND_SET_FUNCTION_VISIBILITY_TO_HIDDEN 13 13 14 /* order matters: used as index into "install_dir[]" in appletlib.c */15 typedef enum bb_install_loc_t {16 _BB_DIR_ROOT = 0,17 _BB_DIR_BIN,18 _BB_DIR_SBIN,19 #if ENABLE_INSTALL_NO_USR20 _BB_DIR_USR_BIN = _BB_DIR_BIN,21 _BB_DIR_USR_SBIN = _BB_DIR_SBIN,22 #else23 _BB_DIR_USR_BIN,24 _BB_DIR_USR_SBIN,25 #endif26 } bb_install_loc_t;27 28 typedef enum bb_suid_t {29 _BB_SUID_DROP = 0,30 _BB_SUID_MAYBE,31 _BB_SUID_REQUIRE32 } bb_suid_t;33 34 35 14 /* Defined in appletlib.c (by including generated applet_tables.h) */ 36 15 /* Keep in sync with applets/applet_tables.c! */ 37 extern const char applet_names[] ;16 extern const char applet_names[] ALIGN1; 38 17 extern int (*const applet_main[])(int argc, char **argv); 39 18 extern const uint16_t applet_nameofs[]; 40 extern const uint8_t applet_install_loc[] ;19 extern const uint8_t applet_install_loc[] ALIGN1; 41 20 42 21 #if ENABLE_FEATURE_SUID || ENABLE_FEATURE_PREFER_APPLETS
Note:
See TracChangeset
for help on using the changeset viewer.