summaryrefslogtreecommitdiff
path: root/include/busybox.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/busybox.h')
-rw-r--r--include/busybox.h11
1 files changed, 9 insertions, 2 deletions
diff --git a/include/busybox.h b/include/busybox.h
index 988137497..6f4808778 100644
--- a/include/busybox.h
+++ b/include/busybox.h
@@ -27,8 +27,15 @@ enum SUIDRoot {
27struct BB_applet { 27struct BB_applet {
28 const char *name; 28 const char *name;
29 int (*main) (int argc, char **argv); 29 int (*main) (int argc, char **argv);
30 __extension__ enum Location location:4; 30 __extension__ enum Location location:8;
31 __extension__ enum SUIDRoot need_suid:4; 31 __extension__ enum SUIDRoot need_suid:8;
32 /* true if instead if fork(); exec("applet"); waitpid();
33 * one can do fork(); exit(applet_main(argc,argv)); waitpid(); */
34 unsigned char noexec;
35 /* Even nicer */
36 /* true if instead if fork(); exec("applet"); waitpid();
37 * one can simply call applet_main(argc,argv); */
38 unsigned char nofork;
32}; 39};
33 40
34/* Defined in applet.c */ 41/* Defined in applet.c */