Main Page   Compound List   File List   Compound Members   File Members  

lib/gobj/system.h

Go to the documentation of this file.
00001 /* lib/system.h - System structure
00002    Copyright (C) 2000, 2001 Thomas Uehlinger
00003 
00004    This program is free software; you can redistribute it and/or modify
00005    it under the terms of the GNU General Public License as published by
00006    the Free Software Foundation; either version 2, or (at your option)
00007    any later version.
00008 
00009    This program is distributed in the hope that it will be useful,
00010    but WITHOUT ANY WARRANTY; without even the implied warranty of
00011    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00012    GNU General Public License for more details.
00013 
00014    You should have received a copy of the GNU General Public License
00015    along with this program; if not, write to the Free Software
00016    Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.  */
00017 
00025 #include <gobjconfig.h>
00026 
00027 #ifndef gobj_lib_system_h
00028 #define gobj_lib_system_h
00029 
00030 #include <gobj/decls.h>
00031 #include <gobj/types.h>
00032 
00033 #ifdef __cplusplus
00034 extern "C" {
00035 #endif /* __cplusplus */
00036 #if 0
00037 }
00038 #endif
00039 
00040 
00045 struct Gj_System_struct {
00046 
00047   Gj_Idmgr* idmgr;
00048 
00049   Gj_Containermgr* containermgr;
00050 
00051   Gj_Nativemgr* nativemgr;
00052 
00053   Gj_Ifacemgr* ifacemgr;
00054 
00055   Gj_Router* router;
00056   Gj_ContainerId routerContainer;
00057 
00058   Gj_Personamgr* personamgr;
00059   Gj_ContainerId personamgrContainer;
00060 
00061   Gj_Server* server;
00062   Gj_ContainerId serverContainer;
00063 
00064 };
00065 
00066 
00073 int Gj_system_new(Gj_Ctx* ctx);
00074 
00075 
00082 int Gj_system_delete(Gj_Ctx* ctx);
00083 
00084 
00091 int Gj_system_initStd(Gj_Ctx* ctx);
00092 
00093 
00100 int Gj_system_initMinimal(Gj_Ctx* ctx);
00101 
00102 
00111 int Gj_system_restoreWithInitSystem(Gj_Ctx* ctx);
00112 
00113 
00120 int Gj_system_save(Gj_Ctx* ctx);
00121 
00122 
00127 Gj_Bool Gj_system_isInit(Gj_Ctx* ctx);
00128 
00129 
00130 #ifdef __cplusplus
00131 }
00132 #endif /* __cplusplus */
00133 
00134 #endif /* !gobj_lib_system_h */
00135 

Generated at Fri Aug 17 18:28:55 2001 for Gobj by doxygen1.2.1 written by Dimitri van Heesch, © 1997-2000