#ifndef CORE_XML_H #define CORE_XML_H /* Read a file and returns a char* to an allocated buffer. Returns NULL if error; */ extern char* xml_load(char* location); /* Read the mark string (xml) and init the pt value with the given TreatTag function. Returns 1 if ok, 0 if error; */ extern int xml_read(void* pt, int(*TreatTag)(void*, char*, char*), char* mark); #endif /* XML_H */