Mirror of git://git.busybox.net/busybox with our patches on top
Source
25
25
*
26
26
*/
27
27
28
28
#include <unistd.h>
29
29
#include <stdio.h>
30
30
#include <stdlib.h>
31
31
#include <string.h>
32
32
#include <assert.h>
33
33
#include "busybox.h"
34
34
35
+
const char usage_messages[] =
36
+
37
+
#define MAKE_USAGE
38
+
#include "usage.h"
39
+
40
+
#include "applets.h"
41
+
42
+
;
43
+
44
+
#undef MAKE_USAGE
35
45
#undef APPLET
36
46
#undef APPLET_NOUSAGE
37
47
#undef PROTOTYPES
38
48
#include "applets.h"
39
49
50
+
40
51
static struct BB_applet *applet_using;
41
52
42
53
/* The -1 arises because of the {0,NULL,0,-1} entry above. */
43
54
const size_t NUM_APPLETS = (sizeof (applets) / sizeof (struct BB_applet) - 1);
44
55
45
56
46
57
#ifdef CONFIG_FEATURE_SUID
47
58
48
59
static void check_suid (struct BB_applet *app);
49
60