diff options
author | Guenter Bartsch <guenter@users.sourceforge.net> | 2002-09-05 20:19:48 +0000 |
---|---|---|
committer | Guenter Bartsch <guenter@users.sourceforge.net> | 2002-09-05 20:19:48 +0000 |
commit | c35a3e9d5068667992c1b104195de59721e23786 (patch) | |
tree | e6f5aae17dc0b565dd99825763438980d353433f /src/input/input_plugin.h | |
parent | 0a4b9224218ce85bbd13c7f5eefbfd8ddbbee4df (diff) | |
download | xine-lib-c35a3e9d5068667992c1b104195de59721e23786.tar.gz xine-lib-c35a3e9d5068667992c1b104195de59721e23786.tar.bz2 |
use xine_mrl_t instead of mrl_t in input plugins, implement more configfile functions
CVS patchset: 2615
CVS date: 2002/09/05 20:19:48
Diffstat (limited to 'src/input/input_plugin.h')
-rw-r--r-- | src/input/input_plugin.h | 14 |
1 files changed, 3 insertions, 11 deletions
diff --git a/src/input/input_plugin.h b/src/input/input_plugin.h index 902752447..428ee4e71 100644 --- a/src/input/input_plugin.h +++ b/src/input/input_plugin.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: input_plugin.h,v 1.27 2002/07/17 21:23:57 f1rmb Exp $ + * $Id: input_plugin.h,v 1.28 2002/09/05 20:19:49 guenter Exp $ */ #ifndef HAVE_INPUT_PLUGIN_H @@ -130,20 +130,12 @@ extern "C" { assert((d) != NULL); \ \ while((s) != NULL) { \ - d[i] = (mrl_t *) malloc(sizeof(mrl_t)); \ + d[i] = (xine_mrl_t *) malloc(sizeof(xine_mrl_t)); \ MRL_DUPLICATE(s[i], d[i]); \ i++; \ } \ } -typedef struct { - char *origin; /* Origin of grabbed mrls (eg: path for file plugin */ - char *mrl; /* <type>://<location> */ - char *link; /* name of link, if exist, otherwise NULL */ - uint32_t type; /* match to mrl_type enum */ - off_t size; /* size of this source, may be 0 */ -} mrl_t; - typedef struct input_plugin_s input_plugin_t; struct input_plugin_s @@ -212,7 +204,7 @@ struct input_plugin_s * ls function * return value: NULL => filename is a file, **char=> filename is a dir */ - mrl_t** (*get_dir) (input_plugin_t *this, char *filename, int *nFiles); + xine_mrl_t** (*get_dir) (input_plugin_t *this, char *filename, int *nFiles); /* |