SpaceBubble  v0.98
Functions
trace.h File Reference

Wii trace include file. More...

Go to the source code of this file.

Functions

int traceOpen (char *filename)
 
int traceClose ()
 
int traceEvent (char *functionName, int threadNr, char *event,...)
 
int traceEventRaw (char character)
 

Detailed Description

Wii trace include file.

Author
wplaat

Copyright (C) 2008-2010 PlaatSoft

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, version 2.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA

Function Documentation

int traceClose ( )

Close trace file

Close trace file

Author
wplaat
int traceEvent ( char *  functionName,
int  threadNr,
char *  event,
  ... 
)

Save trace event in trace file

Parameters
functionNameThe functionName
threadNrThe thread number [0=main thread, 1=network thread]
eventThe event discription
...Optional parameters.
Returns
Zero is succesful.

Save trace event in trace file

Author
wplaat
Parameters
functionNameThe functionName
threadNrThe thread number [0=main thread, 1=network thread]
eventThe event discription
...Optional parameters.
Returns
Zero is succesful.
int traceEventRaw ( char  character)

Save trace event in trace file.

Parameters
characterThe character range between 0...255
Returns
Zero is succesful.

Save trace event in trace file.

Author
wplaat
Parameters
characterThe character range between 0...255
Returns
Zero is succesful.
int traceOpen ( char *  filename)

Create trace file

Parameters
filenameThe filename of the trace file

Create trace file

Author
wplaat
Parameters
filenameThe filename of the trace file