Annotation of gpl/axl/ns/axl_ns_node.h, revision 1.1

1.1     ! misho       1: /*
        !             2:  *  LibAxl:  Another XML library
        !             3:  *  Copyright (C) 2006 Advanced Software Production Line, S.L.
        !             4:  *
        !             5:  *  This program is free software; you can redistribute it and/or
        !             6:  *  modify it under the terms of the GNU Lesser General Public License
        !             7:  *  as published by the Free Software Foundation; either version 2.1 of
        !             8:  *  the License, or (at your option) any later version.
        !             9:  *
        !            10:  *  This program is distributed in the hope that it will be useful,
        !            11:  *  but WITHOUT ANY WARRANTY; without even the implied warranty of 
        !            12:  *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the  
        !            13:  *  GNU Lesser General Public License for more details.
        !            14:  *
        !            15:  *  You should have received a copy of the GNU Lesser General Public
        !            16:  *  License along with this program; if not, write to the Free
        !            17:  *  Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
        !            18:  *  02111-1307 USA
        !            19:  *  
        !            20:  *  You may find a copy of the license under this software is released
        !            21:  *  at COPYING file. This is LGPL software: you are welcome to
        !            22:  *  develop proprietary applications using this library without any
        !            23:  *  royalty or fee but returning back any change, improvement or
        !            24:  *  addition in the form of source code, project image, documentation
        !            25:  *  patches, etc. 
        !            26:  *
        !            27:  *  For commercial support on build XML enabled solutions contact us:
        !            28:  *          
        !            29:  *      Postal address:
        !            30:  *         Advanced Software Production Line, S.L.
        !            31:  *         Edificio Alius A, Oficina 102,
        !            32:  *         C/ Antonio Suarez Nº 10,
        !            33:  *         Alcalá de Henares 28802 Madrid
        !            34:  *         Spain
        !            35:  *
        !            36:  *      Email address:
        !            37:  *         info@aspl.es - http://www.aspl.es/xml
        !            38:  */
        !            39: #ifndef __AXL_NS_NODE_H__
        !            40: #define __AXL_NS_NODE_H__
        !            41: 
        !            42: #include <axl_ns.h>
        !            43: 
        !            44: BEGIN_C_DECLS
        !            45: 
        !            46: /** 
        !            47:  * \addtogroup axl_ns_node_module
        !            48:  * @{
        !            49:  */
        !            50: 
        !            51: axl_bool      axl_ns_node_cmp          (axlNode * node, 
        !            52:                                        const char * ns, 
        !            53:                                        const char * name);
        !            54: 
        !            55: axlNode * axl_ns_node_find_called  (axlNode    * parent,
        !            56:                                    const char * ns,
        !            57:                                    const char * name);
        !            58: 
        !            59: axlNode * axl_ns_node_get_child_called   (axlNode    * parent, 
        !            60:                                          const char * ns,
        !            61:                                          const char * name);
        !            62: 
        !            63: axlNode * axl_ns_node_get_next_called    (axlNode    * node,
        !            64:                                          const char * ns,
        !            65:                                          const char * name);
        !            66: 
        !            67: axlNode * axl_ns_node_get_previous_called (axlNode    * node,
        !            68:                                           const char * ns,
        !            69:                                           const char * name);
        !            70: 
        !            71: /** 
        !            72:  * @brief Allows to check if an xml node is prefixed (by a xml
        !            73:  * namespace declaration).
        !            74:  *
        !            75:  * See \ref axl_ns_node_is_prefixed.
        !            76:  * 
        !            77:  * @param node The node to check.
        !            78:  * 
        !            79:  * @return \ref axl_true if prefixed, otherwise \ref axl_false is returned.
        !            80:  */
        !            81: #define AXL_IS_PREFIXED(node) (axl_ns_node_is_prefixed(node, NULL))
        !            82: 
        !            83: axl_bool axl_ns_node_is_prefixed  (axlNode * node, 
        !            84:                                   int     * position);
        !            85: 
        !            86: /**
        !            87:  * @}
        !            88:  */
        !            89: 
        !            90: END_C_DECLS
        !            91: 
        !            92: #endif

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>