00001 /* Handle escaping for XML files. Deal with things like 00002 * & and ". */ 00003 00004 #ifndef XMLESCAPE_H 00005 #define XMLESCAPE_H 00006 00007 struct hash *xmlEscapeSymHash(); 00008 /* Return hash of predefined xml character symbols to lookup. */ 00009 00010 void xmlEscapeBytesToFile(unsigned char *buffer, int len, FILE *f); 00011 /* Write buffer of given length to file, escaping as need be. */ 00012 00013 void xmlEscapeStringToFile(char *s, FILE *f); 00014 /* Write escaped zero-terminated string to file. */ 00015 00016 #endif /* XMLESCAPE_H */ 00017
1.5.2