From af652e213c0be828f66dae46bc8de5178ca24135 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Ale=C5=A1=20K=C5=99enek?= Date: Wed, 6 Dec 2006 13:51:41 +0000 Subject: [PATCH] string open method --- org.glite.jp.primary/interface/file_plugin.h | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/org.glite.jp.primary/interface/file_plugin.h b/org.glite.jp.primary/interface/file_plugin.h index 6bf22d2..98ed498 100644 --- a/org.glite.jp.primary/interface/file_plugin.h +++ b/org.glite.jp.primary/interface/file_plugin.h @@ -12,6 +12,15 @@ typedef struct _glite_jpps_fplug_op_t { \param[out] handle Handle to the opened file structure, to be passed to other plugin functions. */ int (*open)(void *fpctx,void *bhandle,const char *uri,void **handle); +/** Open from a string. +\param[in] fpctx Context of the plugin, returned by its init. +\param[in] str The string to use. +\param[in] uri URI (type) of the string +\param[in] ns namespace to handle +\param[out] handle Handle to the opened file structure, to be passed to other plugin functions. +*/ + + int (*open_str)(void *fpctx,const char *str,const char *uri,const char *ns,void **handle); /** Close the file. Free data associated to a handle */ int (*close)(void *fpctx,void *handle); -- 1.8.2.3