From e83128d4e0e1882a53943c2df3f7e64885223a3a Mon Sep 17 00:00:00 2001 From: Daniel Caujolle-Bert Date: Fri, 30 Nov 2001 21:55:05 +0000 Subject: 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 --- include/xine.h.tmpl.in | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'include') diff --git a/include/xine.h.tmpl.in b/include/xine.h.tmpl.in index 650bbc623..22c8600c8 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.57 2001/11/25 21:47:19 f1rmb Exp $ + * $Id: xine.h.tmpl.in,v 1.58 2001/11/30 21:55:05 f1rmb Exp $ * */ @@ -501,6 +501,7 @@ struct cfg_entry_s { /* type string */ char *str_value; char *str_default; + char *str_sticky; /* common to range, enum, num, bool: */ @@ -545,6 +546,9 @@ struct config_values_s { * from the config file otherwise */ + void (*register_empty) (config_values_t *self, + char *key); + char* (*register_string) (config_values_t *self, char *key, char *def_value, -- cgit v1.2.3