diff src/recpt1.h @ 152:30e91361506a

EXPERIMENTAL: Enable change phisical channel by DLNA.(ISDB-T only)
author Naoya OYAMA <naoya.oyama@gmail.com>
date Sun, 02 Sep 2012 01:59:27 +0900
parents 5eab7c73a28a
children 5d010d0ff6a1
line wrap: on
line diff
--- a/src/recpt1.h	Fri Aug 31 23:39:46 2012 +0900
+++ b/src/recpt1.h	Sun Sep 02 01:59:27 2012 +0900
@@ -19,6 +19,7 @@
 #define TRUE                1
 #define FALSE               0
 #define STREAM_MAX (16)
+#define CHANNEL_MAX (256)
 
 
 /* type definitions */
@@ -100,6 +101,17 @@
     streamer *streamer;
 } thread_data;
 
+struct channel_info {
+    char *sid;
+    char *tp;
+    char *name;
+};
+
+struct channel_info_list {
+    int                  nr_channel;
+    struct channel_info *channel_info[CHANNEL_MAX];
+};
+
 QUEUE_T *create_queue(size_t size);
 BUFSZ *dequeue(QUEUE_T *p_queue);
 ARIB_STD_B25_BUFFER *stream_dequeue(STREAM_QUEUE_T *p_queue);