1 /* vi: set sw=4 ts=4: */
3 * Busybox main internal header file
5 * Licensed under the GPL v2 or later, see the file LICENSE in this tarball.
7 #ifndef _BB_INTERNAL_H_
8 #define _BB_INTERNAL_H_ 1
10 #include "bb_config.h"
15 #include <sys/types.h>
18 extern const char BB_BANNER[];
20 /* Pull in the utility routines from libbb */
39 int (*main) (int argc, char **argv);
40 __extension__ enum Location location:4;
41 __extension__ enum SUIDRoot need_suid:4;
45 extern const struct BB_applet applets[];
47 /* Automagically pull in all the applet function prototypes and
48 * applet usage strings. These are all of the form:
49 * extern int foo_main(int argc, char **argv);
50 * extern const char foo_usage[];
51 * These are all autogenerated from the set of currently defined applets.
58 /* Stop system and switch power off if possible. */
59 #define RB_POWER_OFF 0x4321fedc
62 /* Try to pull in PATH_MAX */
65 /* for PATH_MAX on systems that don't have it in limits.h */
66 #include <sys/param.h>
75 #endif /* _BB_INTERNAL_H_ */