GraphAlignment/src/GA_message.h

Go to the documentation of this file.
00001 #ifndef GA_MESSAGE
00002 #define GA_MESSAGE
00003 /* ----------------------------------------------------------------------------
00004  * R package for graph alignment
00005  * ----------------------------------------------------------------------------
00006  *
00007  * Author: Joern P. Meier <mail@ionflux.org>
00008  * 
00009  * The package can be used freely for non-commercial purposes. If you use this 
00010  * package, the appropriate paper to cite is J. Berg and M. Lässig, 
00011  * "Cross-species analysis of biological networks by Bayesian alignment", 
00012  * PNAS 103 (29), 10967-10972 (2006)
00013  * 
00014  * This software is made available in the hope that it will be useful, but 
00015  * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY 
00016  * or FITNESS FOR A PARTICULAR PURPOSE.
00017  * 
00018  * This software contains code for solving linear assignment problems which was 
00019  * written by Roy Jonker, MagicLogic Optimization Inc.. Please note that this 
00020  * code is copyrighted, &copy; 2003 MagicLogic Systems Inc., Canada and may be 
00021  * used for non-commercial purposes only. See 
00022  * http://www.magiclogic.com/assignment.html for the latest version of the LAP 
00023  * code and details on licensing.
00024  *
00025  * ----------------------------------------------------------------------------
00026  * Message reporting.
00027  * ----------------------------------------------------------------------------
00028  */
00029 
00044 #ifdef __cplusplus
00045 extern "C"
00046 {
00047 #endif
00048 
00056 enum GAMessageLevel_Impl
00057 {
00060         GA_MSG_DEBUG = 0,
00063         GA_MSG_INFO = 1,
00066         GA_MSG_WARNING = 2,
00069         GA_MSG_ERROR = 3
00070 };
00071 
00074 typedef enum GAMessageLevel_Impl GAMessageLevel;
00075 
00081 typedef void (*GAMessageFunc)(const char*, GAMessageLevel);
00082 
00092 void GA_msg_default(const char* text, GAMessageLevel level);
00093 
00103 GAMessageFunc GA_set_msg_func(GAMessageFunc msgfunc);
00104 
00123 GAMessageFunc GA_msg();
00124 
00125 #ifdef __cplusplus
00126 }
00127 #endif
00128 #endif

Generated on Thu Aug 16 15:28:41 2007 for Graphalignment(Rpackage) by  doxygen 1.5.1