OSDN Git Service

Regenerate generated files after upstream sync.
[android-x86/external-toybox.git] / generated / globals.h
1 // toys/android/getprop.c
2
3 struct getprop_data {
4   size_t size;
5   char **nv; // name/value pairs: even=name, odd=value
6 };
7
8 // toys/example/hello.c
9
10 struct hello_data {
11   int unused;
12 };
13
14 // toys/example/skeleton.c
15
16 struct skeleton_data {
17   union {
18     struct {
19       char *b_string;
20       long c_number;
21       struct arg_list *d_list;
22       long e_count;
23       char *also_string;
24       char *blubber_string;
25     } s;
26     struct {
27       long b_number;
28     } a;
29   };
30
31   int more_globals;
32 };
33
34 // toys/lsb/dmesg.c
35
36 struct dmesg_data {
37   long level;
38   long size;
39 };
40
41 // toys/lsb/killall.c
42
43 struct killall_data {
44   char *sig;
45
46   int signum;
47   pid_t cur_pid;
48   char **names;
49   short *err;
50 };
51
52 // toys/lsb/md5sum.c
53
54 struct md5sum_data {
55   unsigned state[5];
56   unsigned oldstate[5];
57   uint64_t count;
58   union {
59     char c[64];
60     unsigned i[16];
61   } buffer;
62 };
63
64 // toys/lsb/mknod.c
65
66 struct mknod_data {
67   char *arg_context;
68   char *m;
69 };
70
71 // toys/lsb/mktemp.c
72
73 struct mktemp_data {
74   char *tmpdir;
75 };
76
77 // toys/lsb/mount.c
78
79 struct mount_data {
80   struct arg_list *optlist;
81   char *type;
82   char *bigO;
83
84   unsigned long flags;
85   char *opts;
86   int okuser;
87 };
88
89 // toys/lsb/passwd.c
90
91 struct passwd_data {
92   char *algo;
93 };
94
95 // toys/lsb/pidof.c
96
97 struct pidof_data {
98   char *omit;
99 };
100
101 // toys/lsb/seq.c
102
103 struct seq_data {
104   char *sep;
105   char *fmt;
106 };
107
108 // toys/lsb/su.c
109
110 struct su_data {
111   char *s;
112   char *c;
113 };
114
115 // toys/lsb/umount.c
116
117 struct umount_data {
118   struct arg_list *t;
119
120   char *types;
121 };
122
123 // toys/other/acpi.c
124
125 struct acpi_data {
126   int ac, bat, therm, cool;
127   char *cpath;
128 };
129
130 // toys/other/base64.c
131
132 struct base64_data {
133   long columns;
134 };
135
136 // toys/other/blockdev.c
137
138 struct blockdev_data {
139   long bsz;
140 };
141
142 // toys/other/dos2unix.c
143
144 struct dos2unix_data {
145   char *tempfile;
146 };
147
148 // toys/other/fallocate.c
149
150 struct fallocate_data {
151   long size;
152 };
153
154 // toys/other/free.c
155
156 struct free_data {
157   unsigned bits;
158   unsigned long long units;
159 };
160
161 // toys/other/hexedit.c
162
163 struct hexedit_data {
164   char *data;
165   long long len, base;
166   int numlen, undo, undolen;
167   unsigned height;
168 };
169
170 // toys/other/hwclock.c
171
172 struct hwclock_data {
173   char *fname;
174
175   int utc;
176 };
177
178 // toys/other/ifconfig.c
179
180 struct ifconfig_data {
181   int sockfd;
182 };
183
184 // toys/other/ionice.c
185
186 struct ionice_data {
187   long pid;
188   long level;
189   long class;
190 };
191
192 // toys/other/login.c
193
194 struct login_data {
195   char *hostname;
196   char *username;
197
198   int login_timeout, login_fail_timeout;
199 };
200
201 // toys/other/losetup.c
202
203 struct losetup_data {
204   char *jfile;
205   long offset;
206   long size;
207
208   int openflags;
209   dev_t jdev;
210   ino_t jino;
211 };
212
213 // toys/other/lspci.c
214
215 struct lspci_data {
216   char *ids;
217   long numeric;
218
219   FILE *db;
220 };
221
222 // toys/other/makedevs.c
223
224 struct makedevs_data {
225   char *fname;
226 };
227
228 // toys/other/mix.c
229
230 struct mix_data {
231    long right;
232    long level;
233    char *dev;
234    char *chan;
235 };
236
237 // toys/other/mkpasswd.c
238
239 struct mkpasswd_data {
240   long pfd;
241   char *method;
242   char *salt;
243 };
244
245 // toys/other/modinfo.c
246
247 struct modinfo_data {
248   char *field;
249   char *knam;
250   char *base;
251
252   long mod;
253 };
254
255 // toys/other/netcat.c
256
257 struct netcat_data {
258   char *filename;        // -f read from filename instead of network
259   long quit_delay;       // -q Exit after EOF from stdin after # seconds.
260   char *source_address;  // -s Bind to a specific source address.
261   long port;             // -p Bind to a specific source port.
262   long wait;             // -w Wait # seconds for a connection.
263 };
264
265 // toys/other/nsenter.c
266
267 struct nsenter_data {
268   char *nsnames[6];
269   long targetpid;
270 };
271
272 // toys/other/oneit.c
273
274 struct oneit_data {
275   char *console;
276 };
277
278 // toys/other/shred.c
279
280 struct shred_data {
281   long offset;
282   long iterations;
283   long size;
284
285   int ufd;
286 };
287
288 // toys/other/stat.c
289
290 struct stat_data {
291   char *fmt;
292
293   union {
294     struct stat st;
295     struct statfs sf;
296   } stat;
297   struct passwd *user_name;
298   struct group *group_name;
299 };
300
301 // toys/other/swapon.c
302
303 struct swapon_data {
304   long priority;
305 };
306
307 // toys/other/switch_root.c
308
309 struct switch_root_data {
310   char *console;
311
312   dev_t rootdev;
313 };
314
315 // toys/other/timeout.c
316
317 struct timeout_data {
318   char *s_signal;
319   char *k_timeout;
320
321   int nextsig;
322   pid_t pid;
323   struct timeval ktv;
324   struct itimerval itv;
325 };
326
327 // toys/other/truncate.c
328
329 struct truncate_data {
330   char *s;
331
332   long size;
333   int type;
334 };
335
336 // toys/other/xxd.c
337
338 struct xxd_data {
339   long g;
340   long l;
341   long c;
342 };
343
344 // toys/pending/arp.c
345
346 struct arp_data {
347     char *hw_type;
348     char *af_type_A;
349     char *af_type_p;
350     char *interface;
351     
352     int sockfd;
353     char *device;
354 };
355
356 // toys/pending/arping.c
357
358 struct arping_data {
359     long count;
360     unsigned long time_out;
361     char *iface;
362     char *src_ip;
363
364     int sockfd;
365     unsigned long start, end;
366     unsigned sent_at, sent_nr, rcvd_nr, brd_sent, rcvd_req, brd_rcv,
367              unicast_flag;
368 };
369
370 // toys/pending/bootchartd.c
371
372 struct bootchartd_data {
373   char buf[32];
374   long smpl_period_usec;
375   int proc_accounting;
376   int is_login;
377
378   void *head;
379 };
380
381 // toys/pending/brctl.c
382
383 struct brctl_data {
384     int sockfd;
385 };
386
387 // toys/pending/compress.c
388
389 struct compress_data {
390   // Huffman codes: base offset and extra bits tables (length and distance)
391   char lenbits[29], distbits[30];
392   unsigned short lenbase[29], distbase[30];
393   void *fixdisthuff, *fixlithuff;
394
395   // CRC
396   void (*crcfunc)(char *data, int len);
397   unsigned crc;
398
399   // Compressed data buffer
400   char *data;
401   unsigned pos, len;
402   int infd, outfd;
403
404   // Tables only used for deflation
405   unsigned short *hashhead, *hashchain;
406 };
407
408 // toys/pending/crond.c
409
410 struct crond_data {
411   char *crontabs_dir;
412   char *logfile;
413   int loglevel_d;
414   int loglevel;
415
416   time_t crontabs_dir_mtime;
417   uint8_t flagd;
418 };
419
420 // toys/pending/crontab.c
421
422 struct crontab_data {
423   char *user;
424   char *cdir;
425 };
426
427 // toys/pending/dd.c
428
429 struct dd_data {
430   int sig;
431 };
432
433 // toys/pending/dhcp.c
434
435 struct dhcp_data {
436     char *iface;
437     char *pidfile;
438     char *script;
439     long retries;
440     long timeout;
441     long tryagain;
442     struct arg_list *req_opt;
443     char *req_ip;
444     struct arg_list *pkt_opt;
445     char *fdn_name;
446     char *hostname;
447     char *vendor_cls;
448 };
449
450 // toys/pending/dhcpd.c
451
452 struct dhcpd_data {
453     char *iface;
454     long port;
455 };;
456
457 // toys/pending/diff.c
458
459 struct diff_data {
460   long ct;
461   char *start;
462   struct arg_list *L_list;
463
464   int dir_num, size, is_binary, status, change, len[2];
465   int *offset[2];
466 };
467
468 // toys/pending/dumpleases.c
469
470 struct dumpleases_data {
471     char *file;
472 };
473
474 // toys/pending/expr.c
475
476 struct expr_data {
477   int argidx;
478 };
479
480 // toys/pending/fdisk.c
481
482 struct fdisk_data {
483   long sect_sz;
484   long sectors;
485   long heads;
486   long cylinders;
487 };
488
489 // toys/pending/fold.c
490
491 struct fold_data {
492   int width;
493 };
494
495 // toys/pending/fsck.c
496
497 struct fsck_data {
498   int fd_num;
499   char *t_list;
500
501   struct double_list *devices;
502   char *arr_flag;
503   char **arr_type;
504   int negate;
505   int sum_status;
506   int nr_run;
507   int sig_num;
508   long max_nr_run;
509 };
510
511 // toys/pending/ftpget.c
512
513 struct ftpget_data {
514   long port; //  char *port;
515   char *password;
516   char *username;
517
518   FILE *sockfp;
519   int c;
520   int isget;
521   char buf[sizeof(struct sockaddr_storage)];
522 };
523
524 // toys/pending/getty.c
525
526 struct getty_data {
527   char *issue_str;
528   char *login_str;
529   char *init_str;
530   char *host_str; 
531   long timeout;
532   
533   char *tty_name;  
534   int  speeds[20];
535   int  sc;              
536   struct termios termios;
537   char buff[128];
538 };
539
540 // toys/pending/groupadd.c
541
542 struct groupadd_data {
543   long gid;
544 };
545
546 // toys/pending/host.c
547
548 struct host_data {
549   char *type_str;
550 };
551
552 // toys/pending/iconv.c
553
554 struct iconv_data {
555   char *from;
556   char *to;
557
558   void *ic;
559 };
560
561 // toys/pending/ip.c
562
563 struct ip_data {
564   char stats, singleline, flush, *filter_dev, gbuf[8192];
565   int sockfd, connected, from_ok, route_cmd;
566   int8_t addressfamily, is_addr;
567 };
568
569 // toys/pending/ipcrm.c
570
571 struct ipcrm_data {
572   struct arg_list *qkey;
573   struct arg_list *qid;
574   struct arg_list *skey;
575   struct arg_list *sid;
576   struct arg_list *mkey;
577   struct arg_list *mid;
578 };
579
580 // toys/pending/ipcs.c
581
582 struct ipcs_data {
583   int id;
584 };
585
586 // toys/pending/klogd.c
587
588 struct klogd_data {
589   long level;
590
591   int fd;
592 };
593
594 // toys/pending/last.c
595
596 struct last_data {
597   char *file;
598
599   struct arg_list *list;
600 };
601
602 // toys/pending/logger.c
603
604 struct logger_data {
605   char *priority_arg;
606   char *ident;
607 };
608
609 // toys/pending/lsof.c
610
611 struct lsof_data {
612   char *pids;
613
614   struct stat *sought_files;
615
616   struct double_list *files;
617   int last_shown_pid;
618   int shown_header;
619 };
620
621 // toys/pending/mke2fs.c
622
623 struct mke2fs_data {
624   // Command line arguments.
625   long blocksize;
626   long bytes_per_inode;
627   long inodes;           // Total inodes in filesystem.
628   long reserved_percent; // Integer precent of space to reserve for root.
629   char *gendir;          // Where to read dirtree from.
630
631   // Internal data.
632   struct dirtree *dt;    // Tree of files to copy into the new filesystem.
633   unsigned treeblocks;   // Blocks used by dt
634   unsigned treeinodes;   // Inodes used by dt
635
636   unsigned blocks;       // Total blocks in the filesystem.
637   unsigned freeblocks;   // Free blocks in the filesystem.
638   unsigned inodespg;     // Inodes per group
639   unsigned groups;       // Total number of block groups.
640   unsigned blockbits;    // Bits per block.  (Also blocks per group.)
641
642   // For gene2fs
643   unsigned nextblock;    // Next data block to allocate
644   unsigned nextgroup;    // Next group we'll be allocating from
645   int fsfd;              // File descriptor of filesystem (to output to).
646
647   struct ext2_superblock sb;
648 };
649
650 // toys/pending/modprobe.c
651
652 struct modprobe_data {
653   struct arg_list *probes;
654   struct arg_list *dbase[256];
655   char *cmdopts;
656   int nudeps;
657   uint8_t symreq;
658   void (*dbg)(char *format, ...);
659 };
660
661 // toys/pending/more.c
662
663 struct more_data {
664   struct termios inf;
665   int cin_fd;
666 };
667
668 // toys/pending/netstat.c
669
670 struct netstat_data {
671   char current_name[21];
672   int some_process_unidentified;
673 };;
674
675 // toys/pending/openvt.c
676
677 struct openvt_data {
678   unsigned long vt_num;
679 };
680
681 // toys/pending/pgrep.c
682
683 struct pgrep_data {
684   long sid;       //-s
685   long ppid;      //-P
686
687   char *signame;
688 };
689
690 // toys/pending/ping.c
691
692 struct ping_data {
693   long wait_exit;
694   long wait_resp;
695   char *iface;
696   long size;
697   long count;
698   long ttl;
699
700   int sock;
701 };
702
703 // toys/pending/ps.c
704
705 struct ps_data {
706   struct arg_list *G;
707   struct arg_list *g;
708   struct arg_list *U;
709   struct arg_list *u;
710   struct arg_list *t;
711   struct arg_list *p;
712   struct arg_list *o;
713
714   unsigned width;
715   dev_t tty;
716   void *fields;
717   long pidlen, *pids, ttylen, *ttys, bits;
718   long long ticks;
719 };
720
721 // toys/pending/route.c
722
723 struct route_data {
724   char *family;
725 };
726
727 // toys/pending/sh.c
728
729 struct sh_data {
730   char *command;
731 };
732
733 // toys/pending/sulogin.c
734
735 struct sulogin_data {
736   long timeout;
737   struct termios crntio;
738 };
739
740 // toys/pending/syslogd.c
741
742 struct syslogd_data {
743   char *socket;
744   char *config_file;
745   char *unix_socket;
746   char *logfile;
747   long interval;
748   long rot_size;
749   long rot_count;
750   char *remote_log;
751   long log_prio;
752
753   struct unsocks *lsocks;  // list of listen sockets
754   struct logfile *lfiles;  // list of write logfiles
755   int sigfd[2];
756 };
757
758 // toys/pending/tar.c
759
760 struct tar_data {
761   char *fname;
762   char *dir;
763   struct arg_list *inc_file;
764   struct arg_list *exc_file;
765   char *tocmd;
766   struct arg_list *exc;
767
768   struct arg_list *inc, *pass;
769   void *inodes, *handle;
770 };
771
772 // toys/pending/tcpsvd.c
773
774 struct tcpsvd_data {
775   char *name;
776   char *user;
777   long bn;
778   char *nmsg;
779   long cn;
780
781   int maxc;
782   int count_all;
783   int udp;
784 };
785
786 // toys/pending/telnet.c
787
788 struct telnet_data {
789   int port;
790   int sfd;
791   char buff[128];
792   int pbuff;
793   char iac[256];
794   int piac;
795   char *ttype;
796   struct termios def_term;
797   struct termios raw_term;
798   uint8_t term_ok;
799   uint8_t term_mode;
800   uint8_t flags;
801   unsigned win_width;
802   unsigned win_height;
803 };
804
805 // toys/pending/telnetd.c
806
807 struct telnetd_data {
808     char *login_path;
809     char *issue_path;
810     int port;
811     char *host_addr;
812     long w_sec;
813
814     int gmax_fd;
815     pid_t fork_pid;
816 };
817
818 // toys/pending/tftp.c
819
820 struct tftp_data {
821   char *local_file;
822   char *remote_file;
823   long block_size;
824
825   struct sockaddr_storage inaddr;
826   int af;
827 };
828
829 // toys/pending/tftpd.c
830
831 struct tftpd_data {
832   char *user;
833
834   long sfd;
835   struct passwd *pw;
836 };
837
838 // toys/pending/top.c
839
840 struct top_data {
841   long iterations;
842   long delay;
843
844   long cmp_field;
845   long reverse;
846   long rows;
847   long smp;
848   long threads;
849   long m_flag;
850   long num_new_procs;
851   long scroll_offset;
852   struct termios inf;
853 };
854
855 // toys/pending/tr.c
856
857 struct tr_data {
858   short map[256]; //map of chars
859   int len1, len2;
860 };
861
862 // toys/pending/traceroute.c
863
864 struct traceroute_data {
865   long max_ttl;
866   long port;
867   long ttl_probes;
868   char *src_ip;
869   long tos;
870   long wait_time;
871   struct arg_list *loose_source;
872   long pause_time;
873   long first_ttl;
874   char *iface;
875
876   uint32_t gw_list[9];
877   int recv_sock;
878   int snd_sock;
879   unsigned msg_len;
880   char *packet;
881   uint32_t ident;
882   int istraceroute6;
883 };
884
885 // toys/pending/useradd.c
886
887 struct useradd_data {
888   char *dir;
889   char *gecos;
890   char *shell;
891   char *u_grp;
892   long uid;
893
894   long gid;
895 };
896
897 // toys/pending/watch.c
898
899 struct watch_data {
900   int interval;
901 };
902
903 // toys/posix/chgrp.c
904
905 struct chgrp_data {
906   uid_t owner;
907   gid_t group;
908   char *owner_name, *group_name;
909   int symfollow;
910 };
911
912 // toys/posix/chmod.c
913
914 struct chmod_data {
915   char *mode;
916 };
917
918 // toys/posix/cksum.c
919
920 struct cksum_data {
921   unsigned crc_table[256];
922 };
923
924 // toys/posix/cmp.c
925
926 struct cmp_data {
927   int fd;
928   char *name;
929 };
930
931 // toys/posix/cp.c
932
933 struct cp_data {
934   union {
935     struct {
936       // install's options
937       char *group;
938       char *user;
939       char *mode;
940     } i;
941     struct {
942       char *preserve;
943     } c;
944   };
945
946   char *destname;
947   struct stat top;
948   int (*callback)(struct dirtree *try);
949   uid_t uid;
950   gid_t gid;
951   int pflags;
952 };
953
954 // toys/posix/cpio.c
955
956 struct cpio_data {
957   char *archive;
958   char *pass;
959   char *fmt;
960 };
961
962 // toys/posix/cut.c
963
964 struct cut_data {
965   char *delim;
966   char *flist;
967   char *clist;
968   char *blist;
969
970   void *slist_head;
971   unsigned nelem;
972   void (*do_cut)(int fd);
973 };
974
975 // toys/posix/date.c
976
977 struct date_data {
978   char *file;
979   char *setfmt;
980   char *showdate;
981
982   char *tz;
983   unsigned nano;
984 };
985
986 // toys/posix/df.c
987
988 struct df_data {
989   struct arg_list *fstype;
990
991   long units;
992   int column_widths[5];
993   int header_shown;
994 };
995
996 // toys/posix/du.c
997
998 struct du_data {
999   long maxdepth;
1000
1001   long depth, total;
1002   dev_t st_dev;
1003   void *inodes;
1004 };
1005
1006 // toys/posix/expand.c
1007
1008 struct expand_data {
1009   struct arg_list *tabs;
1010
1011   unsigned tabcount, *tab;
1012 };
1013
1014 // toys/posix/find.c
1015
1016 struct find_data {
1017   char **filter;
1018   struct double_list *argdata;
1019   int topdir, xdev, depth, envsize;
1020   time_t now;
1021 };
1022
1023 // toys/posix/grep.c
1024
1025 struct grep_data {
1026   long m;
1027   struct arg_list *f;
1028   struct arg_list *e;
1029
1030   struct arg_list *regex;
1031 };
1032
1033 // toys/posix/head.c
1034
1035 struct head_data {
1036   long lines;
1037   int file_no;
1038 };
1039
1040 // toys/posix/id.c
1041
1042 struct id_data {
1043   int is_groups;
1044 };
1045
1046 // toys/posix/kill.c
1047
1048 struct kill_data {
1049   char *signame;
1050   struct arg_list *olist;
1051 };
1052
1053 // toys/posix/ls.c
1054
1055 struct ls_data {
1056   char *color;
1057
1058   struct dirtree *files, *singledir;
1059
1060   unsigned screen_width;
1061   int nl_title;
1062   char uid_buf[12], gid_buf[12];
1063 };
1064
1065 // toys/posix/mkdir.c
1066
1067 struct mkdir_data {
1068   char *arg_mode;
1069   char *arg_context;
1070 };
1071
1072 // toys/posix/mkfifo.c
1073
1074 struct mkfifo_data {
1075   char *m_string;
1076   char *Z;
1077
1078   mode_t mode;
1079 };
1080
1081 // toys/posix/nice.c
1082
1083 struct nice_data {
1084   long priority;
1085 };
1086
1087 // toys/posix/nl.c
1088
1089 struct nl_data {
1090   long w;
1091   char *s;
1092   char *n;
1093   char *b;
1094   long l;
1095   long v;
1096
1097   // Count of consecutive blank lines for -l has to persist between files
1098   long lcount;
1099 };
1100
1101 // toys/posix/od.c
1102
1103 struct od_data {
1104   struct arg_list *output_base;
1105   char *address_base;
1106   long max_count;
1107   long jump_bytes;
1108
1109   int address_idx;
1110   unsigned types, leftover, star;
1111   char *buf;
1112   uint64_t bufs[4]; // force 64-bit alignment
1113   off_t pos;
1114 };
1115
1116 // toys/posix/paste.c
1117
1118 struct paste_data {
1119   char *delim;
1120 };
1121
1122 // toys/posix/patch.c
1123
1124 struct patch_data {
1125   char *infile;
1126   long prefix;
1127
1128   struct double_list *current_hunk;
1129   long oldline, oldlen, newline, newlen;
1130   long linenum;
1131   int context, state, filein, fileout, filepatch, hunknum;
1132   char *tempname;
1133 };
1134
1135 // toys/posix/renice.c
1136
1137 struct renice_data {
1138   long nArgu;
1139 };
1140
1141 // toys/posix/sed.c
1142
1143 struct sed_data {
1144   struct arg_list *f;
1145   struct arg_list *e;
1146
1147   // processed pattern list
1148   struct double_list *pattern;
1149
1150   char *nextline, *remember;
1151   void *restart, *lastregex;
1152   long nextlen, rememberlen, count;
1153   int fdout, noeol;
1154   unsigned xx;
1155 };
1156
1157 // toys/posix/sort.c
1158
1159 struct sort_data {
1160   char *key_separator;
1161   struct arg_list *raw_keys;
1162   char *outfile;
1163   char *ignore1, ignore2;   // GNU compatability NOPs for -S and -T.
1164
1165   void *key_list;
1166   int linecount;
1167   char **lines;
1168 };
1169
1170 // toys/posix/split.c
1171
1172 struct split_data {
1173   long lines;
1174   long bytes;
1175   long suflen;
1176
1177   char *outfile;
1178 };
1179
1180 // toys/posix/strings.c
1181
1182 struct strings_data {
1183   long num;
1184 };
1185
1186 // toys/posix/tail.c
1187
1188 struct tail_data {
1189   long lines;
1190   long bytes;
1191
1192   int file_no;
1193 };
1194
1195 // toys/posix/tee.c
1196
1197 struct tee_data {
1198   void *outputs;
1199 };
1200
1201 // toys/posix/touch.c
1202
1203 struct touch_data {
1204   char *time;
1205   char *file;
1206   char *date;
1207 };
1208
1209 // toys/posix/uniq.c
1210
1211 struct uniq_data {
1212   long maxchars;
1213   long nchars;
1214   long nfields;
1215   long repeats;
1216 };
1217
1218 // toys/posix/uudecode.c
1219
1220 struct uudecode_data {
1221   char *o;
1222 };
1223
1224 // toys/posix/wc.c
1225
1226 struct wc_data {
1227   unsigned long totals[3];
1228 };
1229
1230 // toys/posix/xargs.c
1231
1232 struct xargs_data {
1233   long max_bytes;
1234   long max_entries;
1235   long L;
1236   char *eofstr;
1237   char *I;
1238
1239   long entries, bytes;
1240   char delim;
1241 };
1242
1243 extern union global_union {
1244         struct getprop_data getprop;
1245         struct hello_data hello;
1246         struct skeleton_data skeleton;
1247         struct dmesg_data dmesg;
1248         struct killall_data killall;
1249         struct md5sum_data md5sum;
1250         struct mknod_data mknod;
1251         struct mktemp_data mktemp;
1252         struct mount_data mount;
1253         struct passwd_data passwd;
1254         struct pidof_data pidof;
1255         struct seq_data seq;
1256         struct su_data su;
1257         struct umount_data umount;
1258         struct acpi_data acpi;
1259         struct base64_data base64;
1260         struct blockdev_data blockdev;
1261         struct dos2unix_data dos2unix;
1262         struct fallocate_data fallocate;
1263         struct free_data free;
1264         struct hexedit_data hexedit;
1265         struct hwclock_data hwclock;
1266         struct ifconfig_data ifconfig;
1267         struct ionice_data ionice;
1268         struct login_data login;
1269         struct losetup_data losetup;
1270         struct lspci_data lspci;
1271         struct makedevs_data makedevs;
1272         struct mix_data mix;
1273         struct mkpasswd_data mkpasswd;
1274         struct modinfo_data modinfo;
1275         struct netcat_data netcat;
1276         struct nsenter_data nsenter;
1277         struct oneit_data oneit;
1278         struct shred_data shred;
1279         struct stat_data stat;
1280         struct swapon_data swapon;
1281         struct switch_root_data switch_root;
1282         struct timeout_data timeout;
1283         struct truncate_data truncate;
1284         struct xxd_data xxd;
1285         struct arp_data arp;
1286         struct arping_data arping;
1287         struct bootchartd_data bootchartd;
1288         struct brctl_data brctl;
1289         struct compress_data compress;
1290         struct crond_data crond;
1291         struct crontab_data crontab;
1292         struct dd_data dd;
1293         struct dhcp_data dhcp;
1294         struct dhcpd_data dhcpd;
1295         struct diff_data diff;
1296         struct dumpleases_data dumpleases;
1297         struct expr_data expr;
1298         struct fdisk_data fdisk;
1299         struct fold_data fold;
1300         struct fsck_data fsck;
1301         struct ftpget_data ftpget;
1302         struct getty_data getty;
1303         struct groupadd_data groupadd;
1304         struct host_data host;
1305         struct iconv_data iconv;
1306         struct ip_data ip;
1307         struct ipcrm_data ipcrm;
1308         struct ipcs_data ipcs;
1309         struct klogd_data klogd;
1310         struct last_data last;
1311         struct logger_data logger;
1312         struct lsof_data lsof;
1313         struct mke2fs_data mke2fs;
1314         struct modprobe_data modprobe;
1315         struct more_data more;
1316         struct netstat_data netstat;
1317         struct openvt_data openvt;
1318         struct pgrep_data pgrep;
1319         struct ping_data ping;
1320         struct ps_data ps;
1321         struct route_data route;
1322         struct sh_data sh;
1323         struct sulogin_data sulogin;
1324         struct syslogd_data syslogd;
1325         struct tar_data tar;
1326         struct tcpsvd_data tcpsvd;
1327         struct telnet_data telnet;
1328         struct telnetd_data telnetd;
1329         struct tftp_data tftp;
1330         struct tftpd_data tftpd;
1331         struct top_data top;
1332         struct tr_data tr;
1333         struct traceroute_data traceroute;
1334         struct useradd_data useradd;
1335         struct watch_data watch;
1336         struct chgrp_data chgrp;
1337         struct chmod_data chmod;
1338         struct cksum_data cksum;
1339         struct cmp_data cmp;
1340         struct cp_data cp;
1341         struct cpio_data cpio;
1342         struct cut_data cut;
1343         struct date_data date;
1344         struct df_data df;
1345         struct du_data du;
1346         struct expand_data expand;
1347         struct find_data find;
1348         struct grep_data grep;
1349         struct head_data head;
1350         struct id_data id;
1351         struct kill_data kill;
1352         struct ls_data ls;
1353         struct mkdir_data mkdir;
1354         struct mkfifo_data mkfifo;
1355         struct nice_data nice;
1356         struct nl_data nl;
1357         struct od_data od;
1358         struct paste_data paste;
1359         struct patch_data patch;
1360         struct renice_data renice;
1361         struct sed_data sed;
1362         struct sort_data sort;
1363         struct split_data split;
1364         struct strings_data strings;
1365         struct tail_data tail;
1366         struct tee_data tee;
1367         struct touch_data touch;
1368         struct uniq_data uniq;
1369         struct uudecode_data uudecode;
1370         struct wc_data wc;
1371         struct xargs_data xargs;
1372 } this;