summaryrefslogtreecommitdiff
path: root/ext/qtdom
diff options
context:
space:
mode:
authorJan Borsodi <amos@php.net>2001-01-04 12:29:08 +0000
committerJan Borsodi <amos@php.net>2001-01-04 12:29:08 +0000
commitfb9c918f1a57d0d030d4fc9874d748fdab020547 (patch)
treefffae7fd8fd209263d71485e6f162ed7fb01cf5e /ext/qtdom
parent0798a81739460b3d17791e23bee9b6ea1efe7e48 (diff)
downloadphp-git-fb9c918f1a57d0d030d4fc9874d748fdab020547.tar.gz
Removed some stupid header text.
Added a new struct for handling error logs and Qt Message Handler handles. Added functions for returning the error string and starting and stopping the message handler.
Diffstat (limited to 'ext/qtdom')
-rw-r--r--ext/qtdom/qtdom_qt.h25
1 files changed, 16 insertions, 9 deletions
diff --git a/ext/qtdom/qtdom_qt.h b/ext/qtdom/qtdom_qt.h
index 32bad96fba..97d83acea1 100644
--- a/ext/qtdom/qtdom_qt.h
+++ b/ext/qtdom/qtdom_qt.h
@@ -2,16 +2,8 @@
//
// $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
@@ -37,6 +29,20 @@ struct qdom_doc
struct qdom_node *Children;
};
+struct qdom_message
+{
+ char *Log;
+ void *OldHandler;
+};
+
+void qdom_init();
+void qdom_shutdown();
+
+void qdom_do_install_message_handler();
+void qdom_do_free_message_handler();
+
+char *qdom_error_log();
+
void qdom_do_version( char **ver );
struct qdom_node *qdom_do_next_node( struct qdom_node *node );
@@ -56,5 +62,6 @@ 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 );
-
+struct qdom_message *g_qdom_message_log;
+
#endif // QDOM_QT_H