[Anet-checkins] CVS: ANet/ANet_Daemon/Core IMC.h,NONE,1.1 IMC.c,1.1,1.2 ModuleLoader.c,1.3,1.4
Status: Abandoned
Brought to you by:
benad
From: Benoit N. <be...@us...> - 2001-12-23 20:22:22
|
Update of /cvsroot/anet/ANet/ANet_Daemon/Core In directory usw-pr-cvs1:/tmp/cvs-serv23411/ANet_Daemon/Core Modified Files: IMC.c ModuleLoader.c Added Files: IMC.h Log Message: "" --- NEW FILE: IMC.h --- /****************************************************************** ANet_Daemon/Core/IMC.h Inter-module communication declarations. Part of the run-time wrapper of the ANet project. Distributed under GPL: http://www.gnu.org/copyleft/gpl.html ******************************************************************/ #ifndef ANET_IMC #define ANET_IMC /*! \addtogroup core Core \brief Run-time Wrapper Core This is the core of the run-time wrapper of the ANet daemon. */ /*! \addtogroup modules Module Management \ingroup core \brief Module management functions This code manage the different modules running in the ANet daemon. \{ */ /*! \file \brief Inter-Module Communication declarations. \author Benad */ #include "Modules.h" /*! \brief Calls a function in a module \param moduleName The name of the module to call \param instanceName The name of the module instance \param funcID The function ID to call \param ... Arguments to pass to the function \return \li <CODE>3000</CODE>: Invalid module name \li <CODE>3001</CODE>: Invalid instance name \li <CODE>3002</CODE>: Unknown function ID \li <I>Otherwise</I>: The returned value of the function This function calls a function of a module instance. */ UInt32 CallModuleFunction(char *moduleName, char *instanceName, UInt32 funcID, ...); //! Returns the current global tag of the running module ANetMemoryTag ANetGetGlobals(); #endif /*! \} */ Index: IMC.c =================================================================== RCS file: /cvsroot/anet/ANet/ANet_Daemon/Core/IMC.c,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** IMC.c 2001/10/27 15:44:14 1.1 --- IMC.c 2001/12/23 20:22:18 1.2 *************** *** 1,6 **** ! #include "Modules.h" #include "IMC.h" - #include "StubModule.h" ANetMemoryTag currentGlobals; --- 1,25 ---- ! /****************************************************************** ! ANet_Daemon/Core/IMC.c ! Inter-module communication. ! ! Part of the run-time wrapper of the ANet project. ! ! Distributed under GPL: http://www.gnu.org/copyleft/gpl.html ! ******************************************************************/ ! #include "IMC.h" + /*! + \addtogroup modules + \{ + */ + + /*! + \file + \brief Inter-Module Communication functions. + \author Benad + \author Ajaya + */ + ANetMemoryTag currentGlobals; *************** *** 22,23 **** --- 41,44 ---- return currentGlobals; } + + /*! \} */ Index: ModuleLoader.c =================================================================== RCS file: /cvsroot/anet/ANet/ANet_Daemon/Core/ModuleLoader.c,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** ModuleLoader.c 2001/11/07 21:31:54 1.3 --- ModuleLoader.c 2001/12/23 20:22:18 1.4 *************** *** 1,6 **** --- 1,27 ---- + /****************************************************************** + ANet_Daemon/Core/ModuleLoader.c + Module loading functions. + + Part of the run-time wrapper of the ANet project. + + Distributed under GPL: http://www.gnu.org/copyleft/gpl.html + ******************************************************************/ + #include "Modules.h" #include "IMC.h" //inter-module communication #include "StubModule.h" + /*! + \addtogroup modules + \{ + */ + + /*! + \file + \brief Module loading functions. + \author Benad + \author Ajaya + */ + // define some list of ANetModuleInfo here // also define some hash of (moduleName,instanceName) -> ANetMemoryTag here *************** *** 42,43 **** --- 63,66 ---- // I am not sure as yet. } + + /*! \} */ |