Main Page | Modules | Namespace List | Class Hierarchy | Data Structures | Directories | File List | Namespace Members | Data Fields | Globals

traces_xml.h

Go to the documentation of this file.
00001 /********************************************************************
00002 
00003 Copyright 2006, ACCESS Systems Americas, Inc. All rights reserved.
00004 
00005 The contents of this file are subject to the Mozilla Public License Version
00006 1.1 (the "License"); you may not use this file except in compliance with
00007 the License. You may obtain a copy of the License at
00008 http://www.mozilla.org/MPL/
00009 
00010 Software distributed under the License is distributed on an "AS IS" basis,
00011 WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
00012 for the specific language governing rights and limitations under the
00013 License.
00014 
00015 The Original Code is the entire contents of this file.
00016 
00017 The Initial Developer of the Original Code is ACCESS Systems Americas, Inc.
00018 
00019 Portions created by ACCESS Systems Americas, Inc. are Copyright © 2006. All
00020 Rights Reserved.
00021 
00022 Contributor(s): none.
00023 
00024 ********************************************************************/
00032 #ifndef _TRACES_XML_H
00033 #define _TRACES_XML_H
00034 
00035 /*      ------------------------------------------------------------------- */
00036 #include <stdio.h>
00037 #include "traces_main.h"
00038 #include "traces_helper.h"
00039 
00040 /*      ------------------------------------------------------------------- */
00041 #ifdef __cplusplus
00042 extern "C" {
00043 #endif /* __cplusplus */
00044 
00045 /*      ------------------------------------------------------------------- */
00046 
00047 /*      ------------------------------------------------------------------- */
00048 typedef struct _TXMLTracer
00049 {
00050         int             itsfOpened;
00051         int             itsfFirstTrace;
00052         int             itsOutputKind;
00053         int             (*itsOpenProc)(TTracer* aTracer, const char*);
00054         void            (*itsCloseProc)(TTracer* aTracer);
00055         void            (*itsSendProc)(TTracer* aTracer, TTraceSendParams* aParams);
00056         long            (*itsDisconnectedProc)(struct _TTracer* aTracer);
00057         void            (*itsDestroyProc)(struct _TTracer* aTracer);
00058 
00059         FILE*           itsFile;
00060 } TXMLTracer;
00061 
00062 /*      ------------------------------------------------------------------- */
00063 TTracer*        TrXML_Create(void);
00064 
00065 /*      ------------------------------------------------------------------- */
00066 int     TrXML_OpenProc(TTracer* aTracer, const char*);
00067 void    TrXML_CloseProc(TTracer* aTracer);
00068 void    TrXML_SendProc(TTracer* aTracer, TTraceSendParams* aParams);
00069 long    TrXML_DisconnectedProc(TTracer* aTracer);
00070 void    TrXML_DestroyProc(TTracer* aTracer);
00071 
00072 /*      ------------------------------------------------------------------- */
00073 #ifdef __cplusplus
00074 }
00075 #endif /* __cplusplus */
00076 
00077 /*      ------------------------------------------------------------------- */
00078 #endif /* TrTXML_h */

Generated on Sat Dec 16 20:29:47 2006 for hiker-0.9 by  doxygen 1.4.4