From 87b4bd6c43aaa1826faee6cdaed0e2789c74b529 Mon Sep 17 00:00:00 2001 From: drotos Date: Thu, 25 Jan 2007 09:44:50 +0000 Subject: [PATCH] missing API functions git-svn-id: svn+ssh://cvs.lpds.sztaki.hu/var/lib/svn/szdg/dcapi/trunk@1017 a7169a2c-3604-0410-bc95-c702d8d87f7a --- dcapi/local/local_master.c | 33 ++++++++++++++++++++++++++++++++- 1 file changed, 32 insertions(+), 1 deletion(-) diff --git a/dcapi/local/local_master.c b/dcapi/local/local_master.c index 1860389236..50e521e108 100644 --- a/dcapi/local/local_master.c +++ b/dcapi/local/local_master.c @@ -746,11 +746,42 @@ int DC_setWUPriority(DC_Workunit *wu, int priority) return 0; } +/* Queries the state of a work unit. */ +DC_WUState DC_getWUState(DC_Workunit *wu) { - return(DC_WU_UNKNOWN); + return(DC_ERR_NOTIMPL); } +/* Temporarily suspends the execution of a work unit. */ +int +DC_suspendWU(DC_Workunit *wu) +{ + return(DC_ERR_NOTIMPL); +} + +/* Resumes computation of a previously suspended work unit. */ +int +DC_resumeWU(DC_Workunit *wu) +{ + return(DC_ERR_NOTIMPL); +} + +/* Serializes a work unit description. */ +char * +DC_serializeWU(DC_Workunit *wu) +{ + return(NULL/*DC_ERR_NOTIMPL*/); +} + +/* Restores a serialized work unit. */ +DC_Workunit * +DC_deserializeWU(const char *buf) +{ + return(NULL/*DC_ERR_NOTIMPL*/); +} + + /* End of local/local_master.c */ /* Local variables: */