mirror of
https://github.com/php/php-src.git
synced 2024-10-06 17:26:11 +00:00
bde531da79
It has several C functions which are used for initiating a QDomDocument and traversing it.
61 lines
1.4 KiB
C++
61 lines
1.4 KiB
C++
// -*- Mode: C++ -*-
|
|
//
|
|
// $Id$
|
|
//
|
|
// Definition of ||| class
|
|
//
|
|
// <real-name> <<mail-name>>
|
|
// Created on: <09-Nov-2000 12:00:24 root>
|
|
//
|
|
// Copyright (C) 1999-2000 eZ Systems. All rights reserved.
|
|
//
|
|
// IMPORTANT NOTE: You may NOT copy this file or any part of it into
|
|
// your own programs or libraries.
|
|
//
|
|
|
|
#ifndef QDOM_QT_H
|
|
#define QDOM_QT_H
|
|
|
|
struct qdom_node
|
|
{
|
|
int Type;
|
|
char *Name;
|
|
char *Content;
|
|
void *Q_Node;
|
|
};
|
|
|
|
struct qdom_attribute
|
|
{
|
|
int Count;
|
|
void *Q_Node;
|
|
};
|
|
|
|
struct qdom_doc
|
|
{
|
|
void *Document;
|
|
void *CurrentNode;
|
|
struct qdom_node *Children;
|
|
};
|
|
|
|
void qdom_do_version( char **ver );
|
|
|
|
struct qdom_node *qdom_do_next_node( struct qdom_node *node );
|
|
struct qdom_node *qdom_do_first_child( struct qdom_node *node );
|
|
|
|
struct qdom_attribute *qdom_do_node_attributes( struct qdom_node *node );
|
|
struct qdom_node *qdom_do_attribute_at( struct qdom_attribute *attr, int index );
|
|
void qdom_do_attributes_free( struct qdom_attribute *node );
|
|
|
|
int qdom_do_node_children_count( struct qdom_node *node );
|
|
int qdom_do_node_attribute_count( struct qdom_node *node );
|
|
|
|
struct qdom_node *qdom_do_copy_node( struct qdom_node *node );
|
|
void qdom_do_node_free( struct qdom_node *node );
|
|
|
|
void qdom_do_doc_type( struct qdom_doc *doc, char **name );
|
|
struct qdom_doc *qdom_do_init( const char *arg );
|
|
void qdom_do_free( struct qdom_doc *doc );
|
|
|
|
|
|
#endif // QDOM_QT_H
|