The xml tool project provides developers
functions that uses the libxml2 library.
It provides an easy way to input and
output configurations from/to xml files
and handlers to deal with small or big xml databases.
00001 /* Xmltools project. 00002 * The xml tool project provides developers functions that uses the libxml2 library. 00003 * It provides an easy way to input and output configurations from/to xml files 00004 * and handlers to deal with small or big xml databases. 00005 * Copyright (C) 2004 Nicholas Niro 00006 * 00007 * This library is free software; you can redistribute it and/or 00008 * modify it under the terms of the GNU Lesser General Public 00009 * License as published by the Free Software Foundation; either 00010 * version 2.1 of the License, or (at your option) any later version. 00011 * 00012 * This library is distributed in the hope that it will be useful, 00013 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00014 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 00015 * Lesser General Public License for more details. 00016 * 00017 * You should have received a copy of the GNU Lesser General Public 00018 * License along with this library; if not, write to the Free Software 00019 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 00020 */ 00021 00022 /* misc.h */ 00023 #ifndef __MISC_H 00024 #define __MISC_H 00025 00026 extern char **sepchr_words(const unsigned char chr, char *source, int *items); 00027 00028 00029 extern void *xmltools_malloc(unsigned long num_bytes); 00030 extern void *xmltools_calloc(unsigned long num_elements,unsigned long size); 00031 extern void xmltools_free(void* data); 00032 extern void *xmltools_realloc(void* data,unsigned long new_size); 00033 00034 #endif 00035