st_type_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_TYPE_BE_H
00029 #define GWEN_STO_TYPE_BE_H
00030 
00031 #include <gwenhywfar/st_type.h>
00032 
00033 #include <gwenhywfar/inherit.h>
00034 #include <gwenhywfar/misc.h>
00035 
00036 
00037 GWEN_LIST_FUNCTION_LIB_DEFS(GWEN_STO_TYPE, GWEN_StoType, GWENHYWFAR_API)
00038 GWEN_INHERIT_FUNCTION_LIB_DEFS(GWEN_STO_TYPE, GWENHYWFAR_API)
00039 
00040 #include <gwenhywfar/st_storage_be.h>
00041 
00042 
00043 GWENHYWFAR_API
00044 GWEN_STO_TYPE *GWEN_StoType_new(GWEN_STO_STORAGE *storage,
00045                                 GWEN_TYPE_UINT32 id,
00046                                 const char *typeName,
00047                                 const char *name);
00048 
00049 GWENHYWFAR_API
00050 GWEN_STO_TYPE *GWEN_StoType_dup(const GWEN_STO_TYPE *oty);
00051 
00052 GWENHYWFAR_API
00053 void GWEN_StoType_free(GWEN_STO_TYPE *ty);
00054 
00055 GWENHYWFAR_API
00056 int GWEN_StoType_GetOpenCount(const GWEN_STO_TYPE *ty);
00057 
00058 GWENHYWFAR_API
00059 int GWEN_StoType_IncOpenCount(GWEN_STO_TYPE *ty);
00060 
00061 GWENHYWFAR_API
00062 int GWEN_StoType_DecOpenCount(GWEN_STO_TYPE *ty);
00063 
00064 GWENHYWFAR_API
00065 void GWEN_StoType_SetOpenCount(GWEN_STO_TYPE *ty, int i);
00066 
00067 GWENHYWFAR_API
00068 int GWEN_StoType_IsModified(const GWEN_STO_TYPE *ty);
00069 
00070 GWENHYWFAR_API
00071 void GWEN_StoType_SetModified(GWEN_STO_TYPE *ty, int i);
00072 
00073 GWENHYWFAR_API
00074 GWEN_STO_TYPE *GWEN_StoType_GetOriginalType(const GWEN_STO_TYPE *ty);
00075 
00076 GWENHYWFAR_API
00077 void GWEN_StoType_SetOriginalType(GWEN_STO_TYPE *ty,
00078                                   GWEN_STO_TYPE *oty);
00079 
00080 GWENHYWFAR_API
00081 GWEN_STO_CLIENT *GWEN_StoType_GetOwner(const GWEN_STO_TYPE *ty);
00082 
00083 GWENHYWFAR_API
00084 void GWEN_StoType_SetOwner(GWEN_STO_TYPE *ty, GWEN_STO_CLIENT *cl);
00085 
00086 GWENHYWFAR_API
00087 void GWEN_StoType_SetVarList(GWEN_STO_TYPE *ty,
00088                              const GWEN_STO_VARDEF_LIST *vl);
00089 
00090 
00093 GWENHYWFAR_API
00094 int GWEN_StoType_AddVarNoLog(GWEN_STO_TYPE *ty, GWEN_STO_VARDEF *vdef);
00095 
00096 
00097 #endif
00098 
00099 
00100 

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