00001 /* This file is auto-generated from "lockrequest.xml" by the typemaker 00002 tool of Gwenhywfar. 00003 Do not edit this file -- all changes will be lost! */ 00004 #ifndef LOCKREQUEST_L_H 00005 #define LOCKREQUEST_L_H 00006 00010 #ifdef __cplusplus 00011 extern "C" { 00012 #endif 00013 00014 typedef struct LCS_LOCKREQUEST LCS_LOCKREQUEST; 00015 00016 #ifdef __cplusplus 00017 } /* __cplusplus */ 00018 #endif 00019 00020 #include <gwenhywfar/misc.h> 00021 #include <gwenhywfar/misc.h> 00022 #include <gwenhywfar/db.h> 00023 #include <gwenhywfar/types.h> 00024 #include <gwenhywfar/gwentime.h> 00025 00026 #ifdef __cplusplus 00027 extern "C" { 00028 #endif 00029 00030 00031 GWEN_LIST_FUNCTION_DEFS(LCS_LOCKREQUEST, LCS_LockRequest) 00032 LCS_LOCKREQUEST_LIST *LCS_LockRequest_List_dup(const LCS_LOCKREQUEST_LIST *stl); 00033 LCS_LOCKREQUEST *LCS_LockRequest_new(); 00034 void LCS_LockRequest_free(LCS_LOCKREQUEST *st); 00035 void LCS_LockRequest_Attach(LCS_LOCKREQUEST *st); 00036 LCS_LOCKREQUEST *LCS_LockRequest_dup(const LCS_LOCKREQUEST*st);LCS_LOCKREQUEST *LCS_LockRequest_fromDb(GWEN_DB_NODE *db);int LCS_LockRequest_toDb(const LCS_LOCKREQUEST*st, GWEN_DB_NODE *db);int LCS_LockRequest_IsModified(const LCS_LOCKREQUEST *st); 00037 void LCS_LockRequest_SetModified(LCS_LOCKREQUEST *st, int i); 00038 00042 GWEN_TYPE_UINT32 LCS_LockRequest_GetRequestId(const LCS_LOCKREQUEST *el); 00046 void LCS_LockRequest_SetRequestId(LCS_LOCKREQUEST *el, GWEN_TYPE_UINT32 d); 00047 00051 GWEN_TYPE_UINT32 LCS_LockRequest_GetClientId(const LCS_LOCKREQUEST *el); 00055 void LCS_LockRequest_SetClientId(LCS_LOCKREQUEST *el, GWEN_TYPE_UINT32 d); 00056 00060 const GWEN_TIME *LCS_LockRequest_GetLockTime(const LCS_LOCKREQUEST *el); 00064 void LCS_LockRequest_SetLockTime(LCS_LOCKREQUEST *el, const GWEN_TIME *d); 00065 00069 int LCS_LockRequest_GetDuration(const LCS_LOCKREQUEST *el); 00073 void LCS_LockRequest_SetDuration(LCS_LOCKREQUEST *el, int d); 00074 00078 const GWEN_TIME *LCS_LockRequest_GetLockUntil(const LCS_LOCKREQUEST *el); 00082 void LCS_LockRequest_SetLockUntil(LCS_LOCKREQUEST *el, const GWEN_TIME *d); 00083 00084 00085 #ifdef __cplusplus 00086 } /* __cplusplus */ 00087 #endif 00088 00089 00090 #endif /* LOCKREQUEST_L_H */
1.5.3