#include <gwenhywfar/db.h>#include <gwenhywfar/inherit.h>#include <gwenhywfar/misc.h>#include <gwenhywfar/list2.h>#include <gwenhywfar/types.h>#include <gwenhywfar/gwentime.h>Go to the source code of this file.
| typedef struct GWEN_IPC_REQUEST GWEN_IPC_REQUEST |
| typedef int(*) GWEN_IPC_REQUEST_WORK_FN(GWEN_IPC_REQUEST *st) |
| GWENHYWFAR_API void GWEN_IpcRequest_Attach | ( | GWEN_IPC_REQUEST * | st | ) |
Increments the usage counter of the given object, so an additional free() is needed to destroy the object.
| GWENHYWFAR_API GWEN_IPC_REQUEST* GWEN_IpcRequest_dup | ( | const GWEN_IPC_REQUEST * | st | ) |
Creates and returns a deep copy of thegiven object.
| GWENHYWFAR_API void GWEN_IpcRequest_free | ( | GWEN_IPC_REQUEST * | st | ) |
Destroys the given object.
| GWENHYWFAR_API GWEN_IPC_REQUEST* GWEN_IpcRequest_fromDb | ( | GWEN_DB_NODE * | db | ) |
Creates an object from the data in the given GWEN_DB_NODE
| GWENHYWFAR_API const GWEN_TIME* GWEN_IpcRequest_GetExpires | ( | const GWEN_IPC_REQUEST * | el | ) |
Returns the property GWEN_IPC_REQUEST_Expires
| GWENHYWFAR_API GWEN_TYPE_UINT32 GWEN_IpcRequest_GetId | ( | const GWEN_IPC_REQUEST * | el | ) |
Returns the property GWEN_IPC_REQUEST_Id
| GWENHYWFAR_API GWEN_TYPE_UINT32 GWEN_IpcRequest_GetIpcId | ( | const GWEN_IPC_REQUEST * | el | ) |
Returns the property GWEN_IPC_REQUEST_IpcId
| GWENHYWFAR_API const char* GWEN_IpcRequest_GetName | ( | const GWEN_IPC_REQUEST * | el | ) |
Returns the property GWEN_IPC_REQUEST_Name
| GWENHYWFAR_API GWEN_IPC_REQUEST_STATUS GWEN_IpcRequest_GetStatus | ( | const GWEN_IPC_REQUEST * | el | ) |
Returns the property GWEN_IPC_REQUEST_Status
| GWENHYWFAR_API GWEN_IPC_REQUEST_LIST* GWEN_IpcRequest_GetSubRequests | ( | const GWEN_IPC_REQUEST * | el | ) |
Returns the property GWEN_IPC_REQUEST_SubRequests
| GWENHYWFAR_API GWEN_IPC_REQUEST_WORK_FN GWEN_IpcRequest_GetWorkFn | ( | const GWEN_IPC_REQUEST * | st | ) |
Returns the property GWEN_IPC_REQUEST_WorkFn
| GWENHYWFAR_API int GWEN_IpcRequest_IsModified | ( | const GWEN_IPC_REQUEST * | st | ) |
Returns 0 if this object has not been modified, !=0 otherwise
| GWENHYWFAR_API GWEN_IPC_REQUEST_LIST2* GWEN_IpcRequest_List2_dup | ( | const GWEN_IPC_REQUEST_LIST2 * | stl | ) |
Creates a deep copy of the given LIST2.
| GWENHYWFAR_API void GWEN_IpcRequest_List2_freeAll | ( | GWEN_IPC_REQUEST_LIST2 * | stl | ) |
Destroys all objects stored in the given LIST2 and the list itself
| GWEN_IPC_REQUEST_LIST* GWEN_IpcRequest_List_dup | ( | const GWEN_IPC_REQUEST_LIST * | stl | ) |
| GWENHYWFAR_API GWEN_IPC_REQUEST* GWEN_IpcRequest_new | ( | ) |
Creates a new object.
| GWENHYWFAR_API void GWEN_IpcRequest_SetExpires | ( | GWEN_IPC_REQUEST * | el, | |
| const GWEN_TIME * | d | |||
| ) |
Set the property GWEN_IPC_REQUEST_Expires
| GWENHYWFAR_API void GWEN_IpcRequest_SetId | ( | GWEN_IPC_REQUEST * | el, | |
| GWEN_TYPE_UINT32 | d | |||
| ) |
Set the property GWEN_IPC_REQUEST_Id
| GWENHYWFAR_API void GWEN_IpcRequest_SetIpcId | ( | GWEN_IPC_REQUEST * | el, | |
| GWEN_TYPE_UINT32 | d | |||
| ) |
Set the property GWEN_IPC_REQUEST_IpcId
| GWENHYWFAR_API void GWEN_IpcRequest_SetModified | ( | GWEN_IPC_REQUEST * | st, | |
| int | i | |||
| ) |
Sets the modified state of the given object
| GWENHYWFAR_API void GWEN_IpcRequest_SetName | ( | GWEN_IPC_REQUEST * | el, | |
| const char * | d | |||
| ) |
Set the property GWEN_IPC_REQUEST_Name
| GWENHYWFAR_API void GWEN_IpcRequest_SetStatus | ( | GWEN_IPC_REQUEST * | el, | |
| GWEN_IPC_REQUEST_STATUS | d | |||
| ) |
Set the property GWEN_IPC_REQUEST_Status
| GWENHYWFAR_API void GWEN_IpcRequest_SetSubRequests | ( | GWEN_IPC_REQUEST * | el, | |
| GWEN_IPC_REQUEST_LIST * | d | |||
| ) |
Set the property GWEN_IPC_REQUEST_SubRequests
| GWENHYWFAR_API void GWEN_IpcRequest_SetWorkFn | ( | GWEN_IPC_REQUEST * | st, | |
| GWEN_IPC_REQUEST_WORK_FN | d | |||
| ) |
Set the property GWEN_IPC_REQUEST_WorkFn
| GWEN_IPC_REQUEST_STATUS GWEN_IpcRequest_Status_fromString | ( | const char * | s | ) |
| const char* GWEN_IpcRequest_Status_toString | ( | GWEN_IPC_REQUEST_STATUS | v | ) |
| GWENHYWFAR_API int GWEN_IpcRequest_toDb | ( | const GWEN_IPC_REQUEST * | st, | |
| GWEN_DB_NODE * | db | |||
| ) |
Stores an object in the given GWEN_DB_NODE
| GWENHYWFAR_API int GWEN_IpcRequest_WorkFn | ( | GWEN_IPC_REQUEST * | st | ) |
1.4.7