comparison recpt1/tssplitter_lite.h @ 98:3fd15032fd3a

tweak user interface for sid: - rename --split option as --sid - show all available service IDs along with specified SIDs.
author Yoshiki Yazawa <yaz@honeyplanet.jp>
date Wed, 10 Feb 2010 15:02:25 +0900
parents 52f8e081763d
children 3a3f15b063e1
comparison
equal deleted inserted replaced
97:4d201756c593 98:3fd15032fd3a
19 #define _TS_SPLITTER_LITE_H_ 19 #define _TS_SPLITTER_LITE_H_
20 #if defined(WIN32) 20 #if defined(WIN32)
21 #include <io.h> 21 #include <io.h>
22 #include <windows.h> 22 #include <windows.h>
23 #include <crtdbg.h> 23 #include <crtdbg.h>
24 24
25 #pragma warning(disable: 4996) 25 #pragma warning(disable: 4996)
26 #else 26 #else
27 #define __STDC_FORMAT_MACROS 27 #define __STDC_FORMAT_MACROS
28 #include <inttypes.h> 28 #include <inttypes.h>
29 #include <unistd.h> 29 #include <unistd.h>
30 // #include "portable.h" 30 // #include "portable.h"
31 #endif 31 #endif
32 32
33 #define LENGTH_PACKET (188) 33 #define LENGTH_PACKET (188)
34 #define MAX_PID (8192) 34 #define MAX_PID (8192)
35 #define MAX_SERVICES (50)
35 #define LENGTH_CRC_DATA (176) 36 #define LENGTH_CRC_DATA (176)
36 #define false (0) 37 #define false (0)
37 #define true (1) 38 #define true (1)
38 39
39 #define TSS_SUCCESS (0) 40 #define TSS_SUCCESS (0)
40 #define TSS_ERROR (-1) 41 #define TSS_ERROR (-1)
41 #define TSS_NULL (-2) 42 #define TSS_NULL (-2)
42 #define LENGTH_PAT_HEADER (12) 43 #define LENGTH_PAT_HEADER (12)
43 #define C_CHAR_COMMA ',' 44 #define C_CHAR_COMMA ','
44 45
45 /** 46 /**
46 * splitter構造体 47 * splitter構造体
47 */ 48 */