summaryrefslogtreecommitdiff
path: root/src/input
diff options
context:
space:
mode:
authorDarren Salt <linux@youmustbejoking.demon.co.uk>2006-05-03 19:46:06 +0000
committerDarren Salt <linux@youmustbejoking.demon.co.uk>2006-05-03 19:46:06 +0000
commit1e21218596ab3eb84da7b2ec8aedd46827284b8a (patch)
tree4e73293d224c7ac9eff131af52e4747b12674ecd /src/input
parent5859b4076e5326996aa21e6fc0ce572edebec469 (diff)
downloadxine-lib-1e21218596ab3eb84da7b2ec8aedd46827284b8a.tar.gz
xine-lib-1e21218596ab3eb84da7b2ec8aedd46827284b8a.tar.bz2
Make various arrays and structures (mainly xine_plugin_info) const.
(Diego Pettenò) CVS patchset: 7985 CVS date: 2006/05/03 19:46:06
Diffstat (limited to 'src/input')
-rw-r--r--src/input/input_cdda.c4
-rw-r--r--src/input/input_dvb.c2
-rw-r--r--src/input/input_dvd.c4
-rw-r--r--src/input/input_file.c4
-rw-r--r--src/input/input_gnome_vfs.c4
-rw-r--r--src/input/input_http.c4
-rw-r--r--src/input/input_mms.c4
-rw-r--r--src/input/input_net.c4
-rw-r--r--src/input/input_pnm.c2
-rw-r--r--src/input/input_pvr.c4
-rw-r--r--src/input/input_rtp.c2
-rw-r--r--src/input/input_rtsp.c2
-rw-r--r--src/input/input_smb.c4
-rw-r--r--src/input/input_stdin_fifo.c4
-rw-r--r--src/input/input_v4l.c2
-rw-r--r--src/input/input_vcd.c4
16 files changed, 27 insertions, 27 deletions
diff --git a/src/input/input_cdda.c b/src/input/input_cdda.c
index 3eba52e10..5d989e979 100644
--- a/src/input/input_cdda.c
+++ b/src/input/input_cdda.c
@@ -20,7 +20,7 @@
* Compact Disc Digital Audio (CDDA) Input Plugin
* by Mike Melanson (melanson@pcisys.net)
*
- * $Id: input_cdda.c,v 1.85 2006/04/21 23:15:45 dsalt Exp $
+ * $Id: input_cdda.c,v 1.86 2006/05/03 19:46:07 dsalt Exp $
*/
#ifdef HAVE_CONFIG_H
@@ -2728,7 +2728,7 @@ static void *init_plugin (xine_t *xine, void *data) {
return this;
}
-plugin_info_t xine_plugin_info[] = {
+const plugin_info_t xine_plugin_info[] = {
/* type, API, "name", version, special_info, init_function */
{ PLUGIN_INPUT | PLUGIN_MUST_PRELOAD, 17, "CD", XINE_VERSION_CODE, NULL, init_plugin },
{ PLUGIN_NONE, 0, "", 0, NULL, NULL }
diff --git a/src/input/input_dvb.c b/src/input/input_dvb.c
index d15c81dd7..32789950b 100644
--- a/src/input/input_dvb.c
+++ b/src/input/input_dvb.c
@@ -3265,7 +3265,7 @@ static void *init_class (xine_t *xine, void *data) {
* exported plugin catalog entry
*/
-plugin_info_t xine_plugin_info[] = {
+const plugin_info_t xine_plugin_info[] = {
/* type, API, "name", version, special_info, init_function */
{ PLUGIN_INPUT | PLUGIN_MUST_PRELOAD, 17, "DVB", XINE_VERSION_CODE, NULL, init_class },
{ PLUGIN_NONE, 0, "", 0, NULL, NULL }
diff --git a/src/input/input_dvd.c b/src/input/input_dvd.c
index 748f43489..57f6b2b06 100644
--- a/src/input/input_dvd.c
+++ b/src/input/input_dvd.c
@@ -18,7 +18,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
*
- * $Id: input_dvd.c,v 1.206 2005/10/14 21:02:16 miguelfreitas Exp $
+ * $Id: input_dvd.c,v 1.207 2006/05/03 19:46:07 dsalt Exp $
*
*/
@@ -1906,7 +1906,7 @@ static void *init_class (xine_t *xine, void *data) {
}
-plugin_info_t xine_plugin_info[] = {
+const plugin_info_t xine_plugin_info[] = {
/* type, API, "name", version, special_info, init_function */
{ PLUGIN_INPUT | PLUGIN_MUST_PRELOAD, 17, "DVD", XINE_VERSION_CODE, NULL, init_class },
{ PLUGIN_NONE, 0, "", 0, NULL, NULL }
diff --git a/src/input/input_file.c b/src/input/input_file.c
index b18e95d5a..c22341552 100644
--- a/src/input/input_file.c
+++ b/src/input/input_file.c
@@ -17,7 +17,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
*
- * $Id: input_file.c,v 1.108 2006/03/17 18:21:23 hadess Exp $
+ * $Id: input_file.c,v 1.109 2006/05/03 19:46:07 dsalt Exp $
*/
#ifdef HAVE_CONFIG_H
@@ -913,7 +913,7 @@ static void *init_plugin (xine_t *xine, void *data) {
* exported plugin catalog entry
*/
-plugin_info_t xine_plugin_info[] = {
+const plugin_info_t xine_plugin_info[] = {
/* type, API, "name", version, special_info, init_function */
{ PLUGIN_INPUT | PLUGIN_MUST_PRELOAD, 17, "FILE", XINE_VERSION_CODE, NULL, init_plugin },
{ PLUGIN_NONE, 0, "", 0, NULL, NULL }
diff --git a/src/input/input_gnome_vfs.c b/src/input/input_gnome_vfs.c
index 8bc9d8624..dfe0df8e0 100644
--- a/src/input/input_gnome_vfs.c
+++ b/src/input/input_gnome_vfs.c
@@ -18,7 +18,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
*
- * $Id: input_gnome_vfs.c,v 1.29 2006/03/17 18:10:35 hadess Exp $
+ * $Id: input_gnome_vfs.c,v 1.30 2006/05/03 19:46:07 dsalt Exp $
*/
@@ -389,7 +389,7 @@ static input_info_t input_info_gnomevfs = {
100 /* priority */
};
-plugin_info_t xine_plugin_info[] = {
+const plugin_info_t xine_plugin_info[] = {
{ PLUGIN_INPUT | PLUGIN_NO_UNLOAD, 17, "gnomevfs", XINE_VERSION_CODE,
&input_info_gnomevfs, init_input_class },
{ PLUGIN_NONE, 0, "", 0, NULL, NULL }
diff --git a/src/input/input_http.c b/src/input/input_http.c
index 3f327762f..3c9e1e5d7 100644
--- a/src/input/input_http.c
+++ b/src/input/input_http.c
@@ -19,7 +19,7 @@
*
* input plugin for http network streams
*
- * $Id: input_http.c,v 1.113 2006/04/21 23:27:49 dsalt Exp $
+ * $Id: input_http.c,v 1.114 2006/05/03 19:46:07 dsalt Exp $
*/
#ifdef HAVE_CONFIG_H
@@ -1065,7 +1065,7 @@ static void *init_class (xine_t *xine, void *data) {
* exported plugin catalog entry
*/
-plugin_info_t xine_plugin_info[] = {
+const plugin_info_t xine_plugin_info[] = {
/* type, API, "name", version, special_info, init_function */
{ PLUGIN_INPUT | PLUGIN_MUST_PRELOAD, 17, "http", XINE_VERSION_CODE, NULL, init_class },
{ PLUGIN_NONE, 0, "", 0, NULL, NULL }
diff --git a/src/input/input_mms.c b/src/input/input_mms.c
index 4cc7e73e7..f71171dfc 100644
--- a/src/input/input_mms.c
+++ b/src/input/input_mms.c
@@ -17,7 +17,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
*
- * $Id: input_mms.c,v 1.60 2006/04/05 22:12:19 valtri Exp $
+ * $Id: input_mms.c,v 1.61 2006/05/03 19:46:07 dsalt Exp $
*
* mms input plugin based on work from major mms
*/
@@ -473,7 +473,7 @@ static void *init_class (xine_t *xine, void *data) {
* exported plugin catalog entry
*/
-plugin_info_t xine_plugin_info[] = {
+const plugin_info_t xine_plugin_info[] = {
/* type, API, "name", version, special_info, init_function */
{ PLUGIN_INPUT | PLUGIN_MUST_PRELOAD, 17, "mms", XINE_VERSION_CODE, NULL, init_class },
{ PLUGIN_NONE, 0, "", 0, NULL, NULL }
diff --git a/src/input/input_net.c b/src/input/input_net.c
index 1dd75efc1..8490dacbd 100644
--- a/src/input/input_net.c
+++ b/src/input/input_net.c
@@ -20,7 +20,7 @@
* Read from a tcp network stream over a lan (put a tweaked mp1e encoder the
* other end and you can watch tv anywhere in the house ..)
*
- * $Id: input_net.c,v 1.65 2005/11/28 12:24:57 valtri Exp $
+ * $Id: input_net.c,v 1.66 2006/05/03 19:46:07 dsalt Exp $
*
* how to set up mp1e for use with this plugin:
*
@@ -543,7 +543,7 @@ static void *init_class (xine_t *xine, void *data) {
* exported plugin catalog entry
*/
-plugin_info_t xine_plugin_info[] = {
+const plugin_info_t xine_plugin_info[] = {
/* type, API, "name", version, special_info, init_function */
{ PLUGIN_INPUT, 17, "tcp", XINE_VERSION_CODE, NULL, init_class },
{ PLUGIN_NONE, 0, "", 0, NULL, NULL }
diff --git a/src/input/input_pnm.c b/src/input/input_pnm.c
index 7d1cddbd7..ffe6e66b4 100644
--- a/src/input/input_pnm.c
+++ b/src/input/input_pnm.c
@@ -295,7 +295,7 @@ static void *init_class (xine_t *xine, void *data) {
* exported plugin catalog entry
*/
-plugin_info_t xine_plugin_info[] = {
+const plugin_info_t xine_plugin_info[] = {
/* type, API, "name", version, special_info, init_function */
{ PLUGIN_INPUT, 17, "pnm", XINE_VERSION_CODE, NULL, init_class },
{ PLUGIN_NONE, 0, "", 0, NULL, NULL }
diff --git a/src/input/input_pvr.c b/src/input/input_pvr.c
index ad19309fc..002b21b32 100644
--- a/src/input/input_pvr.c
+++ b/src/input/input_pvr.c
@@ -38,7 +38,7 @@
* usage:
* xine pvr:/<prefix_to_tmp_files>\!<prefix_to_saved_files>\!<max_page_age>
*
- * $Id: input_pvr.c,v 1.59 2006/02/05 13:07:31 miguelfreitas Exp $
+ * $Id: input_pvr.c,v 1.60 2006/05/03 19:46:07 dsalt Exp $
*/
/**************************************************************************
@@ -1571,7 +1571,7 @@ static void *init_plugin (xine_t *xine, void *data) {
* exported plugin catalog entry
*/
-plugin_info_t xine_plugin_info[] = {
+const plugin_info_t xine_plugin_info[] = {
/* type, API, "name", version, special_info, init_function */
{ PLUGIN_INPUT | PLUGIN_MUST_PRELOAD, 17, "pvr", XINE_VERSION_CODE, NULL, init_plugin },
{ PLUGIN_NONE, 0, "", 0, NULL, NULL }
diff --git a/src/input/input_rtp.c b/src/input/input_rtp.c
index 9500ab925..c391c4035 100644
--- a/src/input/input_rtp.c
+++ b/src/input/input_rtp.c
@@ -777,7 +777,7 @@ static void *init_class (xine_t *xine, void *data) {
* exported plugin catalog entry
*/
-plugin_info_t xine_plugin_info[] = {
+const plugin_info_t xine_plugin_info[] = {
/* type, API, "name", version, special_info, init_function */
{ PLUGIN_INPUT, 17, "rtp", XINE_VERSION_CODE, NULL, init_class },
{ PLUGIN_NONE, 0, "", 0, NULL, NULL }
diff --git a/src/input/input_rtsp.c b/src/input/input_rtsp.c
index 947d9b146..48c50e6fa 100644
--- a/src/input/input_rtsp.c
+++ b/src/input/input_rtsp.c
@@ -307,7 +307,7 @@ static void *init_class (xine_t *xine, void *data) {
* exported plugin catalog entry
*/
-plugin_info_t xine_plugin_info[] = {
+const plugin_info_t xine_plugin_info[] = {
/* type, API, "name", version, special_info, init_function */
{ PLUGIN_INPUT, 17, "rtsp", XINE_VERSION_CODE, NULL, init_class },
{ PLUGIN_NONE, 0, "", 0, NULL, NULL }
diff --git a/src/input/input_smb.c b/src/input/input_smb.c
index e41e7ddb9..661ef3a2d 100644
--- a/src/input/input_smb.c
+++ b/src/input/input_smb.c
@@ -17,7 +17,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
*
- * $Id: input_smb.c,v 1.10 2006/05/01 21:35:30 valtri Exp $
+ * $Id: input_smb.c,v 1.11 2006/05/03 19:46:07 dsalt Exp $
*/
@@ -537,7 +537,7 @@ static input_info_t input_info_smb = {
0 /* priority */
};
-plugin_info_t xine_plugin_info[] = {
+const plugin_info_t xine_plugin_info[] = {
{ PLUGIN_INPUT, 17, "smb", XINE_VERSION_CODE, &input_info_smb,
init_input_class },
{ PLUGIN_NONE, 0, "", 0, NULL, NULL }
diff --git a/src/input/input_stdin_fifo.c b/src/input/input_stdin_fifo.c
index a3fa8d289..3333a94e0 100644
--- a/src/input/input_stdin_fifo.c
+++ b/src/input/input_stdin_fifo.c
@@ -17,7 +17,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
*
- * $Id: input_stdin_fifo.c,v 1.64 2005/11/21 10:32:44 valtri Exp $
+ * $Id: input_stdin_fifo.c,v 1.65 2006/05/03 19:46:07 dsalt Exp $
*/
#ifdef HAVE_CONFIG_H
@@ -383,7 +383,7 @@ static void *init_class (xine_t *xine, void *data) {
* exported plugin catalog entry
*/
-plugin_info_t xine_plugin_info[] = {
+const plugin_info_t xine_plugin_info[] = {
/* type, API, "name", version, special_info, init_function */
{ PLUGIN_INPUT, 17, "stdin", XINE_VERSION_CODE, NULL, init_class },
{ PLUGIN_NONE, 0, "", 0, NULL, NULL }
diff --git a/src/input/input_v4l.c b/src/input/input_v4l.c
index 4d688207b..cc18772f8 100644
--- a/src/input/input_v4l.c
+++ b/src/input/input_v4l.c
@@ -1945,7 +1945,7 @@ static void *init_radio_class (xine_t *xine, void *data)
* exported plugin catalog entry
*/
-plugin_info_t xine_plugin_info[] = {
+const plugin_info_t xine_plugin_info[] = {
/* type, API, "name", version, special_info, init_function */
{ PLUGIN_INPUT | PLUGIN_MUST_PRELOAD, 17, "v4l_radio", XINE_VERSION_CODE, NULL, init_radio_class },
{ PLUGIN_INPUT | PLUGIN_MUST_PRELOAD, 17, "v4l_tv", XINE_VERSION_CODE, NULL, init_video_class },
diff --git a/src/input/input_vcd.c b/src/input/input_vcd.c
index ab4f004b1..df908b2ae 100644
--- a/src/input/input_vcd.c
+++ b/src/input/input_vcd.c
@@ -17,7 +17,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
*
- * $Id: input_vcd.c,v 1.83 2006/04/05 22:12:19 valtri Exp $
+ * $Id: input_vcd.c,v 1.84 2006/05/03 19:46:07 dsalt Exp $
*
*/
@@ -1114,7 +1114,7 @@ static void *init_class (xine_t *xine, void *data) {
* exported plugin catalog entry
*/
-plugin_info_t xine_plugin_info[] = {
+const plugin_info_t xine_plugin_info[] = {
/* type, API, "name", version, special_info, init_function */
{ PLUGIN_INPUT | PLUGIN_MUST_PRELOAD, 17, "VCDO", XINE_VERSION_CODE, NULL, init_class },
{ PLUGIN_NONE, 0, "", 0, NULL, NULL }