--- multiplexer/global.h 2001/04/03 21:14:33 1.4 +++ multiplexer/global.h 2001/04/05 14:50:42 1.5 @@ -58,10 +58,6 @@ #define MAX_PSI_SIZE 1025 #define MAX_PMTSTREAMS (MAX_PSI_SIZE / 4) -#define ENDFILE_CLOSE 0 -#define ENDFILE_RESET 1 -#define ENDFILE_CHAIN 2 - #define ENDSTR_KILL 0 #define ENDSTR_CLOSE 1 #define ENDSTR_WAIT 2 @@ -194,8 +190,9 @@ typedef enum { typedef struct { refr_data data; - char *name; int handle; + char *name; + int filerefnum; int st_mode; struct pollfd *ufds; int skipped; /* undesired bytes skipped, total */ @@ -204,10 +201,13 @@ typedef struct { int sequence; /* source counter for PES sequence */ short opendatastreams; short openmapstreams; - byte endaction; - boolean automatic; /* extract'o'use */ + char *append_name; + int append_filerefnum; + int append_repeatitions; int repeatitions; int auto_programnb; + boolean automatic; /* extract'o'use */ + boolean stopfile; content_type content; union { struct {