/* * ISO 13818 stream multiplexer * Copyright (C) 2001 Convergence Integrated Media GmbH Berlin * Author: Oskar Schirmer (oskar@convergence.de) */ #define C_HELP 1 #define C_VERS 2 #define C_QUIT 3 #define C_VERB 4 #define C_OPES 5 #define C_OPS 6 #define C_OTS 7 #define C_CROP 8 #define C_REPT 9 #define C_FOLO 10 #define C_TSID 11 #define C_FROP 12 #define C_BUSY 13 #define C_TIMD 14 #define C_FPSI 15 #define C_BSCR 16 typedef struct { byte token; byte width; short comshort; char *comlong; char *explain; char *explmulti; } command_list; boolean command_init (int cargc, char **cargv); boolean command_expected (unsigned int *nfds, struct pollfd *ufds); void command_process (boolean readable);