summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Caujolle-Bert <f1rmb@users.sourceforge.net>2002-02-06 10:57:15 +0000
committerDaniel Caujolle-Bert <f1rmb@users.sourceforge.net>2002-02-06 10:57:15 +0000
commit66985d531f0c38d8469ba3fa926a0aa252056102 (patch)
tree0b49d89c86a7e1cfee21c32105388d9252db0d09
parent820c6d40d40b9f864379a88661d86c2350dc9532 (diff)
downloadxine-lib-66985d531f0c38d8469ba3fa926a0aa252056102.tar.gz
xine-lib-66985d531f0c38d8469ba3fa926a0aa252056102.tar.bz2
rename config_file_init to xine_config_file_init.
CVS patchset: 1479 CVS date: 2002/02/06 10:57:15
-rw-r--r--include/xine.h.tmpl.in14
-rw-r--r--src/xine-engine/configfile.c15
-rw-r--r--src/xine-engine/configfile.h7
-rw-r--r--src/xine-engine/xine_internal.h4
4 files changed, 23 insertions, 17 deletions
diff --git a/include/xine.h.tmpl.in b/include/xine.h.tmpl.in
index 00a4a07e2..e7bd3f90e 100644
--- a/include/xine.h.tmpl.in
+++ b/include/xine.h.tmpl.in
@@ -28,7 +28,7 @@
\endverbatim
*/
/*
- * $Id: xine.h.tmpl.in,v 1.77 2002/02/02 17:05:43 richwareham Exp $
+ * $Id: xine.h.tmpl.in,v 1.78 2002/02/06 10:57:15 f1rmb Exp $
*
*/
@@ -663,7 +663,7 @@ struct config_values_s {
/**
- * \fn config_values_t *config_file_init (char *filename)
+ * \fn config_values_t *xine_config_file_init (char *filename)
* \brief Configuration file initialisation.
* \param filename Pathname of configuration file.
* \return Current config
@@ -672,7 +672,7 @@ struct config_values_s {
*
* Read config file and init a config object of config_values_t type (if it exists)
*/
-config_values_t *config_file_init (char *filename);
+config_values_t *xine_config_file_init (char *filename);
/**
* \defgroup ui_callbacks UI communication callbacks.
@@ -721,7 +721,7 @@ config_values_t *config_file_init (char *filename);
* \brief Initialisation of xine.
* \param vo video driver ( #see @ref xine_load_video_output_plugin() )
* \param ao audio driver ( #see @ref xine_load_audio_output_plugin() )
- * \param config current configuration ( #see config_file_init() )
+ * \param config current configuration ( #see xine_config_file_init() )
* \return Current xine engine configuration
* \sa vo_driver_t, ao_driver_t, config_values_t, gui_stream_end_cb_t, gui_get_next_mrl_cb_t, gui_branched_cb_t
* \warning This function should be called before any other xine_*() function.
@@ -1477,7 +1477,7 @@ char **xine_get_autoplay_mrls (xine_t *self, char *plugin_id, int *num_mrls);
/**
* \fn void xine_list_demux_plugins (config_values_t *config, char **identifiers, char **mimetypes)
* \brief list available demux plugins
- * \param config current configuration ( #see config_file_init() )
+ * \param config current configuration ( #see xine_config_file_init() )
* \param identifiers pointer to a (char *) that will be allocated and filled with all demux identifiers
* \param mimetypes pointer to a (char *) that will be allocated and filled with all demux mimetypes
* \return none (strings are returned on *identifiers and *mimetypes). It is up to called to free these after use.
@@ -1496,7 +1496,7 @@ char **xine_list_video_output_plugins (int visual_type);
/**
* \fn vo_driver_t *xine_load_video_output_plugin(config_values_t *config, char *id, int visual_type, void *visual)
- * \param config current configuration ( #see config_file_init() )
+ * \param config current configuration ( #see xine_config_file_init() )
* \param id driver name.
* \param visual_type #see @ref visual_types
* \param visual visual type dependant data pointer.
@@ -1515,7 +1515,7 @@ char **xine_list_audio_output_plugins (void);
/**
* \fn ao_driver_t *xine_load_audio_output_plugin(config_values_t *config, char *id)
- * \param config current configuration ( #see config_file_init() )
+ * \param config current configuration ( #see xine_config_file_init() )
* \param id driver name.
* \brief load a specific audio output plugin.
* \sa ao_driver_t
diff --git a/src/xine-engine/configfile.c b/src/xine-engine/configfile.c
index f8348157f..e2ef6595b 100644
--- a/src/xine-engine/configfile.c
+++ b/src/xine-engine/configfile.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: configfile.c,v 1.17 2002/01/13 23:08:27 jcdutton Exp $
+ * $Id: configfile.c,v 1.18 2002/02/06 10:57:15 f1rmb Exp $
*
* config file management - implementation
*
@@ -89,7 +89,7 @@ static cfg_entry_t *config_file_add (config_values_t *this, char *key) {
* external interface
*/
-cfg_entry_t *config_file_lookup_entry (config_values_t *this, char *key) {
+static cfg_entry_t *config_file_lookup_entry (config_values_t *this, char *key) {
cfg_entry_t *entry;
entry = this->first;
@@ -107,7 +107,7 @@ static char *config_file_register_string (config_values_t *this,
char *help,
config_cb_t changed_cb,
void *cb_data) {
-
+
cfg_entry_t *entry;
assert (key);
@@ -167,7 +167,7 @@ static int config_file_register_num (config_values_t *this,
char *help,
config_cb_t changed_cb,
void *cb_data) {
-
+
cfg_entry_t *entry;
assert (key);
@@ -262,7 +262,7 @@ static int config_file_register_range (config_values_t *this,
char *help,
config_cb_t changed_cb,
void *cb_data) {
-
+
cfg_entry_t *entry;
assert (key);
@@ -557,7 +557,7 @@ static void config_file_read (config_values_t *this, char *filename){
}
}
-config_values_t *config_file_init (char *filename) {
+config_values_t *xine_config_file_init (char *filename) {
#ifdef HAVE_IRIXAL
volatile /* is this a (old, 2.91.66) irix gcc bug?!? */
@@ -594,6 +594,9 @@ config_values_t *config_file_init (char *filename) {
/*
* $Log: configfile.c,v $
+ * Revision 1.18 2002/02/06 10:57:15 f1rmb
+ * rename config_file_init to xine_config_file_init.
+ *
* Revision 1.17 2002/01/13 23:08:27 jcdutton
* Fix another compiler warning.
*
diff --git a/src/xine-engine/configfile.h b/src/xine-engine/configfile.h
index 74831d526..26480abcc 100644
--- a/src/xine-engine/configfile.h
+++ b/src/xine-engine/configfile.h
@@ -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: configfile.h,v 1.7 2001/12/01 22:38:32 guenter Exp $
+ * $Id: configfile.h,v 1.8 2002/02/06 10:57:15 f1rmb Exp $
*
* config file management
*
@@ -178,7 +178,7 @@ struct config_values_s {
* init internal data structures, read config file
* (if it exists)
*/
-config_values_t *config_file_init (char *filename);
+config_values_t *xine_config_file_init (char *filename);
#ifdef __cplusplus
}
@@ -188,6 +188,9 @@ config_values_t *config_file_init (char *filename);
/*
* $Log: configfile.h,v $
+ * Revision 1.8 2002/02/06 10:57:15 f1rmb
+ * rename config_file_init to xine_config_file_init.
+ *
* Revision 1.7 2001/12/01 22:38:32 guenter
* add avi subtitle decoder (based on mplayer code), minor cleanups, removed register_empty function from configfile (undocumented and doesn't make sense)
*
diff --git a/src/xine-engine/xine_internal.h b/src/xine-engine/xine_internal.h
index 9b2c0066a..88f790fcd 100644
--- a/src/xine-engine/xine_internal.h
+++ b/src/xine-engine/xine_internal.h
@@ -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: xine_internal.h,v 1.70 2002/02/02 17:05:43 richwareham Exp $
+ * $Id: xine_internal.h,v 1.71 2002/02/06 10:57:15 f1rmb Exp $
*
*/
@@ -240,7 +240,7 @@ struct xine_s {
* read config file and init a config object
* (if it exists)
*/
-config_values_t *config_file_init (char *filename);
+config_values_t *xine_config_file_init (char *filename);
/*
* init xine - call once at startup