Main Page   Compound List   File List   Compound Members   File Members  

lib/gobj/session.h

Go to the documentation of this file.
00001 /* lib/session.h - Session 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_session_h
00028 #define gobj_lib_session_h
00029 
00030 #include <gobj/decls.h>
00031 #include <gobj/types.h>
00032 #include <gobj/threads.h>
00033 
00034 #ifdef __cplusplus
00035 extern "C" {
00036 #endif /* __cplusplus */
00037 #if 0
00038 }
00039 #endif
00040 
00041 
00046 struct Gj_Session_struct {
00047 
00048   Gj_Bool followLinks;
00049 
00050 #ifdef GJ_MULTITHREADED
00051   Gj_Bool thread;
00052   Gj_ThreadId threadId;
00053 
00054   Gj_Bool abort;
00055   Gj_Bool aborted;
00056 #endif
00057 
00058 };
00059 
00060 
00067 int Gj_session_new(Gj_Ctx* ctx);
00068 
00069 
00076 int Gj_session_delete(Gj_Ctx* ctx);
00077 
00078 
00085 int Gj_session_initStd(Gj_Ctx* ctx);
00086 
00087 
00092 Gj_Bool Gj_session_isInit(Gj_Ctx* ctx);
00093 
00094 
00095 #ifdef __cplusplus
00096 }
00097 #endif /* __cplusplus */
00098 
00099 #endif /* !gobj_lib_session_h */
00100 

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