Changeset 3232 in MondoRescue for branches/3.2/mindi-busybox/include/busybox.h


Ignore:
Timestamp:
Jan 1, 2014, 12:47:38 AM (10 years ago)
Author:
Bruno Cornec
Message:
  • Update mindi-busybox to 1.21.1
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/3.2/mindi-busybox/include/busybox.h

    r2725 r3232  
    11/* vi: set sw=4 ts=4: */
    22/*
    3  * Busybox main internal header file
    4  *
    53 * Licensed under GPLv2 or later, see file LICENSE in this source tree.
    64 */
     
    97
    108#include "libbb.h"
     9/* BB_DIR_foo and BB_SUID_bar constants: */
     10#include "applet_metadata.h"
    1111
    1212PUSH_AND_SET_FUNCTION_VISIBILITY_TO_HIDDEN
    1313
    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_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 
    28 typedef enum bb_suid_t {
    29     _BB_SUID_DROP = 0,
    30     _BB_SUID_MAYBE,
    31     _BB_SUID_REQUIRE
    32 } bb_suid_t;
    33 
    34 
    3514/* Defined in appletlib.c (by including generated applet_tables.h) */
    3615/* Keep in sync with applets/applet_tables.c! */
    37 extern const char applet_names[];
     16extern const char applet_names[] ALIGN1;
    3817extern int (*const applet_main[])(int argc, char **argv);
    3918extern const uint16_t applet_nameofs[];
    40 extern const uint8_t applet_install_loc[];
     19extern const uint8_t applet_install_loc[] ALIGN1;
    4120
    4221#if ENABLE_FEATURE_SUID || ENABLE_FEATURE_PREFER_APPLETS
Note: See TracChangeset for help on using the changeset viewer.