File:  [DVB] / multiplexer / command.h
Revision 1.1: download - view: text, annotated - select for diffs
Mon Mar 19 20:52:34 2001 UTC (23 years, 2 months ago) by oskar
Branches: MAIN
CVS tags: HEAD
Multiplexer, first archived version.
New feature: --badtiming (see --help)

/*
 * 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);


LinuxTV legacy CVS <linuxtv.org/cvs>