diff options
Diffstat (limited to 'vmchooser/inc/functions.h')
-rw-r--r-- | vmchooser/inc/functions.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/vmchooser/inc/functions.h b/vmchooser/inc/functions.h index 9a10329..91dfdd1 100644 --- a/vmchooser/inc/functions.h +++ b/vmchooser/inc/functions.h @@ -2,6 +2,7 @@ #define _FUNCTIONS_H_ #include <fltk/Widget.h> +#include <libxml/xpath.h> #include <glob.h> @@ -25,9 +26,11 @@ char* getFolderName(); /* Reads output from a skript (2. argument) */ /* Adds the elements into xmlNode "printers" (1. argument) */ -bool addPrinters(xmlNode* node, char* script); -bool addScanners(xmlNode* node, char* script); +bool addPrinters(xmlNode* node, char* script); +bool addScanners(xmlNode* node, char* script); void addInfo(xmlNode* node, DataEntry* dat); /* This is defined in addPrinters.cxx */ +void readGroupXml(DataEntry* dat, string group); +xmlXPathObjectPtr evalXPath(xmlDocPtr doc, const char* path); /* Write configuration xml */ string writeConfXml(DataEntry& dat); |