diff options
author | Guenter Bartsch <guenter@users.sourceforge.net> | 2002-09-11 17:41:07 +0000 |
---|---|---|
committer | Guenter Bartsch <guenter@users.sourceforge.net> | 2002-09-11 17:41:07 +0000 |
commit | e610c72a772656ef2c0a730348fccb28b130795c (patch) | |
tree | 18e0db1179294b49b156b152b4baed200e032bf4 /src/xine-engine/load_plugins.c | |
parent | a714f92ea4ea2b2406697f17dd9f59b47831eb8a (diff) | |
download | xine-lib-e610c72a772656ef2c0a730348fccb28b130795c.tar.gz xine-lib-e610c72a772656ef2c0a730348fccb28b130795c.tar.bz2 |
- more programming guidelines in public xine header
- make most char pointers const in public api
- simpler get_spu_lang / get_audio_lang signature
CVS patchset: 2651
CVS date: 2002/09/11 17:41:07
Diffstat (limited to 'src/xine-engine/load_plugins.c')
-rw-r--r-- | src/xine-engine/load_plugins.c | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/src/xine-engine/load_plugins.c b/src/xine-engine/load_plugins.c index 5bada58fb..993328f37 100644 --- a/src/xine-engine/load_plugins.c +++ b/src/xine-engine/load_plugins.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: load_plugins.c,v 1.90 2002/09/09 20:41:51 uid86226 Exp $ + * $Id: load_plugins.c,v 1.91 2002/09/11 17:41:08 guenter Exp $ * * * Load input/demux/audio_out/video_out/codec plugins @@ -597,7 +597,7 @@ const char *const *xine_get_browsable_input_plugin_ids(xine_p this) { return (_xine_get_featured_input_plugin_ids(this, INPUT_CAP_GET_DIR)); } -const char *xine_get_input_plugin_description(xine_p this, char *plugin_id) { +const char *xine_get_input_plugin_description(xine_p this, const char *plugin_id) { plugin_catalog_t *catalog; plugin_node_t *node; @@ -623,7 +623,7 @@ const char *xine_get_input_plugin_description(xine_p this, char *plugin_id) { */ xine_vo_driver_p xine_open_video_driver (xine_p this_ro, - char *id, + const char *id, int visual_type, void *visual) { xine_t *this = (xine_t *)this_ro; @@ -716,7 +716,7 @@ const char *const *xine_list_video_output_plugins (xine_p this) { return catalog->ids; } -xine_ao_driver_p xine_open_audio_driver (xine_p this_ro, char *id, +xine_ao_driver_p xine_open_audio_driver (xine_p this_ro, const char *id, void *data) { xine_t *this = (xine_t *)this_ro; @@ -758,7 +758,8 @@ xine_ao_driver_p xine_open_audio_driver (xine_p this_ro, char *id, * get autoplay mrl list from input plugin */ -const char *const *xine_get_autoplay_mrls (xine_p this, char *plugin_id, int *num_mrls) { +const char *const *xine_get_autoplay_mrls (xine_p this, const char *plugin_id, + int *num_mrls) { plugin_catalog_t *catalog; plugin_node_t *node; @@ -787,8 +788,8 @@ const char *const *xine_get_autoplay_mrls (xine_p this, char *plugin_id, int *nu /* * input plugin mrl browser support */ -const xine_mrl_t *const *xine_get_browse_mrls (xine_p this, char *plugin_id, - char *start_mrl, int *num_mrls) { +const xine_mrl_t *const *xine_get_browse_mrls (xine_p this, const char *plugin_id, + const char *start_mrl, int *num_mrls) { plugin_catalog_t *catalog; plugin_node_t *node; |