| Gnome XML Library Reference Manual |
|---|
debugXML —
char* (*xmlShellReadlineFunc) (char *prompt); struct xmlShellCtxt; typedef xmlShellCtxtPtr; int (*xmlShellCmd) (xmlShellCtxtPtr ctxt, char *arg, xmlNodePtr node, xmlNodePtr node2);
char* (*xmlShellReadlineFunc) (char *prompt);
This is a generic signature for the XML shell input function.
| prompt: | a string prompt |
| Returns : | a string which will be freed by the Shell. |
struct xmlShellCtxt {
char *filename;
xmlDocPtr doc;
xmlNodePtr node;
xmlXPathContextPtr pctxt;
int loaded;
FILE *output;
xmlShellReadlineFunc input;
};
A debugging shell context. TODO: add the defined function tables.
int (*xmlShellCmd) (xmlShellCtxtPtr ctxt, char *arg, xmlNodePtr node, xmlNodePtr node2);
This is a generic signature for the XML shell functions.
| ctxt: | a shell context |
| arg: | a string argument |
| node: | a first node |
| node2: | a second node |
| Returns : | an int, negative returns indicating errors. |
| << xmlreader | xmlwriter >> |