From: Aleš Křenek Date: Wed, 6 Dec 2006 13:51:41 +0000 (+0000) Subject: string open method X-Git-Tag: glite-lb-server_generic2_start~4 X-Git-Url: http://scientific.zcu.cz/git/?a=commitdiff_plain;h=af652e213c0be828f66dae46bc8de5178ca24135;p=jra1mw.git string open method --- 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);