st_client_be.h

Go to the documentation of this file.
00001 /***************************************************************************
00002  $RCSfile$
00003  -------------------
00004  cvs         : $Id: csv_p.h 120 2003-12-03 23:29:33Z aquamaniac $
00005  begin       : Thu Oct 30 2003
00006  copyright   : (C) 2003 by Martin Preuss
00007  email       : martin@libchipcard.de
00008 
00009  ***************************************************************************
00010  *                                                                         *
00011  *   This library is free software; you can redistribute it and/or         *
00012  *   modify it under the terms of the GNU Lesser General Public            *
00013  *   License as published by the Free Software Foundation; either          *
00014  *   version 2.1 of the License, or (at your option) any later version.    *
00015  *                                                                         *
00016  *   This library is distributed in the hope that it will be useful,       *
00017  *   but WITHOUT ANY WARRANTY; without even the implied warranty of        *
00018  *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU     *
00019  *   Lesser General Public License for more details.                       *
00020  *                                                                         *
00021  *   You should have received a copy of the GNU Lesser General Public      *
00022  *   License along with this library; if not, write to the Free Software   *
00023  *   Foundation, Inc., 59 Temple Place, Suite 330, Boston,                 *
00024  *   MA  02111-1307  USA                                                   *
00025  *                                                                         *
00026  ***************************************************************************/
00027 
00028 #ifndef GWEN_STO_CLIENT_BE_H
00029 #define GWEN_STO_CLIENT_BE_H
00030 
00031 #include <gwenhywfar/st_client.h>
00032 #include <gwenhywfar/inherit.h>
00033 #include <gwenhywfar/misc.h>
00034 
00035 
00036 GWEN_INHERIT_FUNCTION_LIB_DEFS(GWEN_STO_CLIENT, GWENHYWFAR_API)
00037 GWEN_LIST_FUNCTION_LIB_DEFS(GWEN_STO_CLIENT, GWEN_StoClient, GWENHYWFAR_API)
00038 
00039 #include <gwenhywfar/st_type_be.h>
00040 #include <gwenhywfar/st_object_be.h>
00041 #include <gwenhywfar/st_log.h>
00042 #include <gwenhywfar/idlist.h>
00043 
00044 
00045 GWENHYWFAR_API
00046 GWEN_STO_CLIENT *GWEN_StoClient_new(GWEN_STO_STORAGE *st,
00047                                     GWEN_TYPE_UINT32 id,
00048                                     const char *userName);
00049 
00050 GWENHYWFAR_API
00051 void GWEN_StoClient_free(GWEN_STO_CLIENT *cl);
00052 
00053 
00054 GWENHYWFAR_API
00055 GWEN_STO_TYPE_LIST *GWEN_StoClient_GetTypeList(const GWEN_STO_CLIENT *cl);
00056 
00057 GWENHYWFAR_API
00058 void GWEN_StoClient_AddType(GWEN_STO_CLIENT *cl, GWEN_STO_TYPE *ty);
00059 
00060 GWENHYWFAR_API
00061 GWEN_STO_TYPE *GWEN_StoClient_FindTypeByName(const GWEN_STO_CLIENT *cl,
00062                                              const char *typeName,
00063                                              const char *name);
00064 
00065 
00066 GWENHYWFAR_API
00067 GWEN_STO_OBJECT_LIST *GWEN_StoClient_GetObjectList(const GWEN_STO_CLIENT *cl);
00068 
00069 GWENHYWFAR_API
00070 void GWEN_StoClient_AddObject(GWEN_STO_CLIENT *cl, GWEN_STO_OBJECT *o);
00071 
00072 GWENHYWFAR_API
00073 GWEN_STO_OBJECT *GWEN_StoClient_FindObject(const GWEN_STO_CLIENT *cl,
00074                                            GWEN_TYPE_UINT32 id);
00075 
00076 GWENHYWFAR_API
00077 GWEN_IDLIST *GWEN_StoClient_GetOpenObjectIdList(const GWEN_STO_CLIENT *cl);
00078 
00079 GWENHYWFAR_API
00080 void GWEN_StoClient_AddOpenObjectId(GWEN_STO_CLIENT *cl,
00081                                     GWEN_TYPE_UINT32 oid);
00082 
00083 GWENHYWFAR_API
00084 void GWEN_StoClient_DelOpenObjectId(GWEN_STO_CLIENT *cl,
00085                                     GWEN_TYPE_UINT32 oid);
00086 
00087 GWENHYWFAR_API
00088 GWEN_IDLIST *GWEN_StoClient_GetOpenTypeIdList(const GWEN_STO_CLIENT *cl);
00089 
00090 GWENHYWFAR_API
00091 void GWEN_StoClient_AddOpenTypeId(GWEN_STO_CLIENT *cl,
00092                                   GWEN_TYPE_UINT32 oid);
00093 
00094 GWENHYWFAR_API
00095 void GWEN_StoClient_DelOpenTypeId(GWEN_STO_CLIENT *cl,
00096                                   GWEN_TYPE_UINT32 oid);
00097 
00098 GWENHYWFAR_API
00099 GWEN_STO_LOG_LIST *GWEN_StoClient_GetLogList(const GWEN_STO_CLIENT *cl);
00100 
00101 GWENHYWFAR_API
00102 void GWEN_StoClient_AddLog(GWEN_STO_CLIENT *cl, GWEN_STO_LOG *log);
00103 
00104 #endif
00105 
00106 
00107 

Generated on Thu Nov 9 22:06:49 2006 for gwenhywfar by  doxygen 1.5.1