OSDN Git Service

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