From: Jan Borsodi Date: Thu, 4 Jan 2001 12:29:08 +0000 (+0000) Subject: Removed some stupid header text. X-Git-Tag: php-4.0.5RC1~737 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=fb9c918f1a57d0d030d4fc9874d748fdab020547;p=php 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. --- 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 -// -// <> // 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