/* * Copyright (C) Volition, Inc. 1999. All rights reserved. * * All source code herein is the property of Volition, Inc. You may not sell * or otherwise commercially exploit the source or things you created based on the * source. * */ /* * $Logfile: /Freespace2/code/Network/multi_log.h $ * $Revision: 2.2 $ * $Date: 2005-07-13 03:25:59 $ * $Author: Goober5000 $ * * Header file to support multiplayer logging functions * * $Log: not supported by cvs2svn $ * Revision 2.1 2004/08/11 05:06:29 Kazan * added preprocdefines.h to prevent what happened with fred -- make sure to make all fred2 headers include this file as the _first_ include -- i have already modified fs2 files to do this * * Revision 2.0 2002/06/03 04:02:26 penguin * Warpcore CVS sync * * Revision 1.1 2002/05/02 18:03:11 mharris * Initial checkin - converted filenames and includes to lower case * * * 2 10/07/98 10:53a Dave * Initial checkin. * * 1 10/07/98 10:50a Dave * * 2 8/20/98 5:31p Dave * Put in handy multiplayer logfile system. Now need to put in useful * applications of it all over the code. * * 1 8/20/98 2:00p Dave * * * $NoKeywords: $ */ #ifndef _FREESPACE_MULTIPLAYER_LOGFILE_HEADER_FILE #define _FREESPACE_MULTIPLAYER_LOGFILE_HEADER_FILE // ---------------------------------------------------------------------------------------------------- // MULTI LOGFILE DEFINES/VARS // // ---------------------------------------------------------------------------------------------------- // MULTI LOGFILE FUNCTIONS // // initialize the multi logfile void multi_log_init(); // close down the multi logfile void multi_log_close(); // give some processing time to the logfile system so it can check up on stuff void multi_log_process(); // printf function itself called by the ml_printf macro void ml_printf(char *format, ...); // string print function void ml_string(char *string, int add_time = 1); #endif