busybox/include/applet_metadata.h
<<
>>
Prefs
   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
  31