diff options
| author | Daniel Caujolle-Bert <f1rmb@users.sourceforge.net> | 2001-11-30 21:55:05 +0000 |
|---|---|---|
| committer | Daniel Caujolle-Bert <f1rmb@users.sourceforge.net> | 2001-11-30 21:55:05 +0000 |
| commit | e83128d4e0e1882a53943c2df3f7e64885223a3a (patch) | |
| tree | edf1e49f9b1af43e9018bed75b596457b759262b /include | |
| parent | 917fa5603cb9fa67c224846bcbf34bce4a8baa75 (diff) | |
| download | xine-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 'include')
| -rw-r--r-- | include/xine.h.tmpl.in | 6 |
1 files changed, 5 insertions, 1 deletions
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, |
