2 /* Toybox infrastructure.
4 * Copyright 2006 Rob Landley <rob@landley.net>
6 * Licensed under GPL version 2, see file LICENSE in this tarball for details.
16 usage (short long example info)
20 int toybox_main(void);
24 extern struct toy_list {
26 int (*toy_main)(void);
28 struct toy_list *find_toy_by_name(char *name);
30 // Global context for this applet.
32 extern struct toy_context {
33 struct toy_list *which;
39 struct toybox_data {;};
40 struct toysh_data {;};
44 struct toybox_data toybox;
45 struct toysh_data toysh;