X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=helm%2FDEVEL%2Fgdome_xslt%2FC%2Fgdome_xslt%2Fgdome_xslt.h;h=383208770f57e6fc03721a3e273aebb5ad1ac8ba;hb=4167cea65ca58897d1a3dbb81ff95de5074700cc;hp=685c7afb44fa65acfa2814d8ac0b41e461d25717;hpb=e88c76edd1af32fc8108a120801a458e69d90c35;p=helm.git diff --git a/helm/DEVEL/gdome_xslt/C/gdome_xslt/gdome_xslt.h b/helm/DEVEL/gdome_xslt/C/gdome_xslt/gdome_xslt.h index 685c7afb4..383208770 100644 --- a/helm/DEVEL/gdome_xslt/C/gdome_xslt/gdome_xslt.h +++ b/helm/DEVEL/gdome_xslt/C/gdome_xslt/gdome_xslt.h @@ -41,12 +41,25 @@ extern "C" { #endif /* __cplusplus */ + /******************************/ + /* XSLT stylesheet Processing */ + /******************************/ + xsltStylesheetPtr processStylesheet (GdomeDocument* style); + + /*******************************/ + /* XSLT stylesheet Application */ + /*******************************/ + GdomeDocument* applyStylesheet (GdomeDocument* source, xsltStylesheetPtr style_libxslt, const char** params); + /******************/ + /* Results Output */ + /******************/ + int saveResultToFilename (const char* name, GdomeDocument* result, xsltStylesheetPtr style_libxslt, @@ -57,6 +70,16 @@ int saveResultToFile (FILE* file, int saveResultToFd (int fd, GdomeDocument* result, xsltStylesheetPtr style_libxslt); + + /**********************************************/ + /* Error and Debugging Callbacks Registration */ + /**********************************************/ + +typedef void(*gdomeXsltMsgCallback)(const char *); + +void setErrorCallback (gdomeXsltMsgCallback callback); +void setDebugCallback (gdomeXsltMsgCallback callback); + #ifdef __cplusplus } #endif /* __cplusplus */