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 00034 LCS_LOCKREQUEST *LCS_LockRequest_new(); 00035 LCS_LOCKREQUEST *LCS_LockRequest_fromDb(GWEN_DB_NODE *db); 00036 LCS_LOCKREQUEST *LCS_LockRequest_dup(const LCS_LOCKREQUEST*st); 00037 void LCS_LockRequest_free(LCS_LOCKREQUEST *st); 00038 void LCS_LockRequest_Attach(LCS_LOCKREQUEST *st); 00039 int LCS_LockRequest_ReadDb(LCS_LOCKREQUEST *st, GWEN_DB_NODE *db); 00040 int LCS_LockRequest_toDb(const LCS_LOCKREQUEST*st, GWEN_DB_NODE *db); 00041 int LCS_LockRequest_IsModified(const LCS_LOCKREQUEST *st); 00042 void LCS_LockRequest_SetModified(LCS_LOCKREQUEST *st, int i); 00043 00047 uint32_t LCS_LockRequest_GetRequestId(const LCS_LOCKREQUEST *el); 00051 void LCS_LockRequest_SetRequestId(LCS_LOCKREQUEST *el, uint32_t d); 00052 00056 uint32_t LCS_LockRequest_GetClientId(const LCS_LOCKREQUEST *el); 00060 void LCS_LockRequest_SetClientId(LCS_LOCKREQUEST *el, uint32_t d); 00061 00065 const GWEN_TIME *LCS_LockRequest_GetLockTime(const LCS_LOCKREQUEST *el); 00069 void LCS_LockRequest_SetLockTime(LCS_LOCKREQUEST *el, const GWEN_TIME *d); 00070 00074 int LCS_LockRequest_GetDuration(const LCS_LOCKREQUEST *el); 00078 void LCS_LockRequest_SetDuration(LCS_LOCKREQUEST *el, int d); 00079 00083 const GWEN_TIME *LCS_LockRequest_GetLockUntil(const LCS_LOCKREQUEST *el); 00087 void LCS_LockRequest_SetLockUntil(LCS_LOCKREQUEST *el, const GWEN_TIME *d); 00088 00089 00090 #ifdef __cplusplus 00091 } /* __cplusplus */ 00092 #endif 00093 00094 00095 #endif /* LOCKREQUEST_L_H */