[Xmltools-development] xmltools/src CMakeLists.txt INSTALL license_template.txt misc.c misc.h nmap.c
Status: Beta
Brought to you by:
nik_89
|
From: nik_89 <ni...@us...> - 2004-12-26 20:54:12
|
Update of /cvsroot/xmltools/xmltools/src In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv10749 Modified Files: CMakeLists.txt INSTALL license_template.txt misc.c misc.h nmap.c nmap.h xml-advhandler.c xml-advhandler.h xmltool.c xmltool.h xmltools.h Log Message: Changed license informations -> Lesser GNU Public License Index: nmap.h =================================================================== RCS file: /cvsroot/xmltools/xmltools/src/nmap.h,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** nmap.h 1 Nov 2004 17:56:24 -0000 1.4 --- nmap.h 26 Dec 2004 20:53:45 -0000 1.5 *************** *** 1,5 **** --- 1,30 ---- + /* Xmltools project. + * 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. + * Copyright (C) 2004 Nicholas Niro + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + */ #ifndef __NMAP_H #define __NMAP_H + /* nmap.h + * node map for multiple node processing + */ + + /* this struct will be used to know * how many and by what name Index: xmltool.c =================================================================== RCS file: /cvsroot/xmltools/xmltools/src/xmltool.c,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** xmltool.c 24 Dec 2004 22:12:42 -0000 1.5 --- xmltool.c 26 Dec 2004 20:53:45 -0000 1.6 *************** *** 1,15 **** ! /* Copyright (C) 2004 to its developers, see AUTHORS for a list ! This file is part of the xmltools project. - The xmltools project is free software; you can redistribute it and/or - modify it under the terms of the GNU General Public - License as published by the Free Software Foundation; either - version 2.1 of the License, or (at your option) any later version. - The xmltools project is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - General Public License for more details. - */ /*! * xmltool.c --- 1,24 ---- ! /* Xmltools project. ! * 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. ! * Copyright (C) 2004 Nicholas Niro ! * ! * This library is free software; you can redistribute it and/or ! * modify it under the terms of the GNU Lesser General Public ! * License as published by the Free Software Foundation; either ! * version 2.1 of the License, or (at your option) any later version. ! * ! * This library is distributed in the hope that it will be useful, ! * but WITHOUT ANY WARRANTY; without even the implied warranty of ! * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ! * Lesser General Public License for more details. ! * ! * You should have received a copy of the GNU Lesser General Public ! * License along with this library; if not, write to the Free Software ! * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ! */ /*! * xmltool.c Index: misc.c =================================================================== RCS file: /cvsroot/xmltools/xmltools/src/misc.c,v retrieving revision 1.9 retrieving revision 1.10 diff -C2 -d -r1.9 -r1.10 *** misc.c 26 Oct 2004 04:50:49 -0000 1.9 --- misc.c 26 Dec 2004 20:53:45 -0000 1.10 *************** *** 1,15 **** ! /* Copyright (C) 2004 to its developers, see AUTHORS for a list ! This file is part of the xmltools project. ! ! The xmltools project is free software; you can redistribute it and/or ! modify it under the terms of the GNU General Public ! License as published by the Free Software Foundation; either ! version 2.1 of the License, or (at your option) any later version. ! ! The xmltools project is distributed in the hope that it will be useful, ! but WITHOUT ANY WARRANTY; without even the implied warranty of ! MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ! General Public License for more details. ! */ /* misc.c --- 1,22 ---- ! /* Xmltools project. ! * 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. ! * Copyright (C) 2004 Nicholas Niro ! * ! * This library is free software; you can redistribute it and/or ! * modify it under the terms of the GNU Lesser General Public ! * License as published by the Free Software Foundation; either ! * version 2.1 of the License, or (at your option) any later version. ! * ! * This library is distributed in the hope that it will be useful, ! * but WITHOUT ANY WARRANTY; without even the implied warranty of ! * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ! * Lesser General Public License for more details. ! * ! * You should have received a copy of the GNU Lesser General Public ! * License along with this library; if not, write to the Free Software ! * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ! */ /* misc.c Index: xml-advhandler.c =================================================================== RCS file: /cvsroot/xmltools/xmltools/src/xml-advhandler.c,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** xml-advhandler.c 26 Oct 2004 01:01:23 -0000 1.2 --- xml-advhandler.c 26 Dec 2004 20:53:45 -0000 1.3 *************** *** 1,2 **** --- 1,23 ---- + /* Xmltools project. + * 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. + * Copyright (C) 2004 Nicholas Niro + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + */ + #include "xml-advhandler.h" Index: xml-advhandler.h =================================================================== RCS file: /cvsroot/xmltools/xmltools/src/xml-advhandler.h,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** xml-advhandler.h 24 Oct 2004 20:07:22 -0000 1.1 --- xml-advhandler.h 26 Dec 2004 20:53:45 -0000 1.2 *************** *** 1,2 **** --- 1,24 ---- + /* Xmltools project. + * 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. + * Copyright (C) 2004 Nicholas Niro + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + */ + + #ifndef __XML_ADVHANDLER_H #define __XML_ADVHANDLER_H Index: misc.h =================================================================== RCS file: /cvsroot/xmltools/xmltools/src/misc.h,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** misc.h 24 Oct 2004 20:07:22 -0000 1.7 --- misc.h 26 Dec 2004 20:53:45 -0000 1.8 *************** *** 1,15 **** ! /* Copyright (C) 2004 to its developers, see AUTHORS for a list ! This file is part of the xmltools project. ! ! The xmltools project is free software; you can redistribute it and/or ! modify it under the terms of the GNU General Public ! License as published by the Free Software Foundation; either ! version 2.1 of the License, or (at your option) any later version. ! ! The xmltools project is distributed in the hope that it will be useful, ! but WITHOUT ANY WARRANTY; without even the implied warranty of ! MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ! General Public License for more details. ! */ /* misc.h */ --- 1,22 ---- ! /* Xmltools project. ! * 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. ! * Copyright (C) 2004 Nicholas Niro ! * ! * This library is free software; you can redistribute it and/or ! * modify it under the terms of the GNU Lesser General Public ! * License as published by the Free Software Foundation; either ! * version 2.1 of the License, or (at your option) any later version. ! * ! * This library is distributed in the hope that it will be useful, ! * but WITHOUT ANY WARRANTY; without even the implied warranty of ! * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ! * Lesser General Public License for more details. ! * ! * You should have received a copy of the GNU Lesser General Public ! * License along with this library; if not, write to the Free Software ! * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ! */ /* misc.h */ Index: license_template.txt =================================================================== RCS file: /cvsroot/xmltools/xmltools/src/license_template.txt,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 Binary files /tmp/cvsbA544l and /tmp/cvs4MoNq8 differ Index: xmltool.h =================================================================== RCS file: /cvsroot/xmltools/xmltools/src/xmltool.h,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** xmltool.h 26 Dec 2004 08:05:22 -0000 1.6 --- xmltool.h 26 Dec 2004 20:53:45 -0000 1.7 *************** *** 1,15 **** ! /* Copyright (C) 2004 to its developers, see AUTHORS for a list ! This file is part of the xmltools project. ! ! The xmltools project is free software; you can redistribute it and/or ! modify it under the terms of the GNU General Public ! License as published by the Free Software Foundation; either ! version 2.1 of the License, or (at your option) any later version. ! ! The xmltools project is distributed in the hope that it will be useful, ! but WITHOUT ANY WARRANTY; without even the implied warranty of ! MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ! General Public License for more details. ! */ --- 1,22 ---- ! /* Xmltools project. ! * 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. ! * Copyright (C) 2004 Nicholas Niro ! * ! * This library is free software; you can redistribute it and/or ! * modify it under the terms of the GNU Lesser General Public ! * License as published by the Free Software Foundation; either ! * version 2.1 of the License, or (at your option) any later version. ! * ! * This library is distributed in the hope that it will be useful, ! * but WITHOUT ANY WARRANTY; without even the implied warranty of ! * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ! * Lesser General Public License for more details. ! * ! * You should have received a copy of the GNU Lesser General Public ! * License along with this library; if not, write to the Free Software ! * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ! */ Index: xmltools.h =================================================================== RCS file: /cvsroot/xmltools/xmltools/src/xmltools.h,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** xmltools.h 26 Dec 2004 08:05:22 -0000 1.3 --- xmltools.h 26 Dec 2004 20:53:45 -0000 1.4 *************** *** 1,5 **** --- 1,30 ---- + /* Xmltools project. + * 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. + * Copyright (C) 2004 Nicholas Niro + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + */ + + /* xmltools.h main global header file + */ + #ifndef __XMLTOOLS_H #define __XMLTOOLS_H + /* keep it at 0 since the advhandler module isn't working properly yet. */ #define advanced 0 Index: CMakeLists.txt =================================================================== RCS file: /cvsroot/xmltools/xmltools/src/CMakeLists.txt,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -d -r1.8 -r1.9 *** CMakeLists.txt 26 Dec 2004 08:05:20 -0000 1.8 --- CMakeLists.txt 26 Dec 2004 20:53:44 -0000 1.9 *************** *** 5,9 **** # set the version define for the project ! SET_TARGET_PROPERTIES(XMLTOOLS_SRC PROPERTIES VERSION "0.5b") # show all errors and warnings and add special infos to be used with gdb --- 5,9 ---- # set the version define for the project ! SET_TARGET_PROPERTIES(XMLTOOLS_SRC PROPERTIES VERSION "0.5.0b") # show all errors and warnings and add special infos to be used with gdb Index: INSTALL =================================================================== RCS file: /cvsroot/xmltools/xmltools/src/INSTALL,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** INSTALL 26 Dec 2004 01:22:15 -0000 1.1 --- INSTALL 26 Dec 2004 20:53:45 -0000 1.2 *************** *** 4,7 **** --- 4,12 ---- CMake works on both windows and POSIX OSes while autoconf only works on POSIX OSes. + + + cmake link : www.cmake.org + + Compiling Xmltools : *************** *** 10,22 **** type "make" which will compile Xmltools. ! Result : It will create a shared object .so file and also an include directory. Including the Xmltools library in your project : ! IMPORTANT : don't forget to also include the libxml2 library in your compiling(the binary to it is included in the include directory). Theres several ways to include Xmltools to your project and I will try to cover as much ! as possible. - Copy libxmltools.so to /usr/lib or /lib as root and compile with the flags -lxmltools --- 15,31 ---- type "make" which will compile Xmltools. ! Result : It will create a shared object .so file and also a folder(xmltools) in ! the include directory. Including the Xmltools library in your project : ! IMPORTANT : don't forget to also include the libxml2 library in your compiling(it is included in the include directory). Theres several ways to include Xmltools to your project and I will try to cover as much ! as possible. ! ! --- Copy the include directory to your project, it contains all the header files needed. ! Also copy the lib directory to your project, it contains all the libxml2 and such libraries. -- - Copy libxmltools.so to /usr/lib or /lib as root and compile with the flags -lxmltools Index: nmap.c =================================================================== RCS file: /cvsroot/xmltools/xmltools/src/nmap.c,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** nmap.c 24 Dec 2004 22:12:42 -0000 1.6 --- nmap.c 26 Dec 2004 20:53:45 -0000 1.7 *************** *** 1,15 **** ! /* Copyright (C) 2004 to its developers, see AUTHORS for a list ! This file is part of the xmltools project. ! ! The xmltools project is free software; you can redistribute it and/or ! modify it under the terms of the GNU General Public ! License as published by the Free Software Foundation; either ! version 2.1 of the License, or (at your option) any later version. - The xmltools project is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - General Public License for more details. - */ /* nmap.c * --- 1,23 ---- ! /* Xmltools project. ! * 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. ! * Copyright (C) 2004 Nicholas Niro ! * ! * This library is free software; you can redistribute it and/or ! * modify it under the terms of the GNU Lesser General Public ! * License as published by the Free Software Foundation; either ! * version 2.1 of the License, or (at your option) any later version. ! * ! * This library is distributed in the hope that it will be useful, ! * but WITHOUT ANY WARRANTY; without even the implied warranty of ! * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ! * Lesser General Public License for more details. ! * ! * You should have received a copy of the GNU Lesser General Public ! * License along with this library; if not, write to the Free Software ! * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ! */ /* nmap.c * |