source: MondoRescue/branches/3.2/mindi-busybox/include/applet_metadata.h@ 3241

Last change on this file since 3241 was 3233, checked in by Bruno Cornec, 10 years ago
  • mindi-busybox 1.21.1 is now complete and builds
  • Property svn:eol-style set to native
File size: 624 bytes
Line 
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
Note: See TracBrowser for help on using the repository browser.