summaryrefslogtreecommitdiff
path: root/src/xine-engine/configfile.h
diff options
context:
space:
mode:
authorDaniel Caujolle-Bert <f1rmb@users.sourceforge.net>2001-11-30 21:55:05 +0000
committerDaniel Caujolle-Bert <f1rmb@users.sourceforge.net>2001-11-30 21:55:05 +0000
commite83128d4e0e1882a53943c2df3f7e64885223a3a (patch)
treeedf1e49f9b1af43e9018bed75b596457b759262b /src/xine-engine/configfile.h
parent917fa5603cb9fa67c224846bcbf34bce4a8baa75 (diff)
downloadxine-lib-e83128d4e0e1882a53943c2df3f7e64885223a3a.tar.gz
xine-lib-e83128d4e0e1882a53943c2df3f7e64885223a3a.tar.bz2
Add an automatic way for input plugin to add extra valid mrls:
add at bottom of init_input_plugin() a line like this: REGISTER_VALID_MRLS(this->config, "mrl.mrls_mpeg_block", "xxx"); CVS patchset: 1147 CVS date: 2001/11/30 21:55:05
Diffstat (limited to 'src/xine-engine/configfile.h')
-rw-r--r--src/xine-engine/configfile.h11
1 files changed, 10 insertions, 1 deletions
diff --git a/src/xine-engine/configfile.h b/src/xine-engine/configfile.h
index 60ac2a4f5..4085098b8 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.5 2001/11/20 17:22:14 miguelfreitas Exp $
+ * $Id: configfile.h,v 1.6 2001/11/30 21:55:06 f1rmb Exp $
*
* config file management
*
@@ -50,6 +50,7 @@ struct cfg_entry_s {
/* type string */
char *str_value;
char *str_default;
+ char *str_sticky;
/* common to range, enum, num, bool: */
@@ -94,6 +95,9 @@ struct config_values_s {
* from the config file otherwise
*/
+ void (*register_empty) (config_values_t *this,
+ char *key);
+
char* (*register_string) (config_values_t *this,
char *key,
char *def_value,
@@ -187,6 +191,11 @@ config_values_t *config_file_init (char *filename);
/*
* $Log: configfile.h,v $
+ * Revision 1.6 2001/11/30 21:55:06 f1rmb
+ * Add an automatic way for input plugin to add extra valid mrls:
+ * add at bottom of init_input_plugin() a line like this:
+ * REGISTER_VALID_MRLS(this->config, "mrl.mrls_mpeg_block", "xxx");
+ *
* Revision 1.5 2001/11/20 17:22:14 miguelfreitas
* testing some configfile stuff...
*