00001 00002 00003 00004 00005 00006 00007 00008 00009 00010 00011 00012 00013 00014 00015 00016
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
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
00098
00099 #endif
00100