From 32280f169f046fe5b90f92107b5eb5fb1f774f32 Mon Sep 17 00:00:00 2001 From: gombasg Date: Wed, 3 May 2006 11:02:02 +0000 Subject: [PATCH] Add 'const' where it is appropriate git-svn-id: svn+ssh://cvs.lpds.sztaki.hu/var/lib/svn/szdg/dcapi/trunk@493 a7169a2c-3604-0410-bc95-c702d8d87f7a --- dcapi/include/dc.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/dcapi/include/dc.h b/dcapi/include/dc.h index babf90085c..5ace9ac5c2 100644 --- a/dcapi/include/dc.h +++ b/dcapi/include/dc.h @@ -167,10 +167,10 @@ DC_WUState DC_getWUState(DC_Workunit *wu); int DC_submitWU(DC_Workunit *wu); /* Queries the low-level ID of the work unit. */ -char *DC_getWUId(DC_Workunit *wu); +char *DC_getWUId(const DC_Workunit *wu); /* Queries the tag of a work unit. */ -char *DC_getWUTag(DC_Workunit *wu); +char *DC_getWUTag(const DC_Workunit *wu); /* Cancels all computations for a given work unit. */ int DC_cancelWU(DC_Workunit *wu); @@ -192,16 +192,16 @@ int DC_sendWUMessage(DC_Workunit *wu, const char *message); */ /* Queries what optional fields are present in the result. */ -unsigned DC_getResultCapabilities(DC_Result *result); +unsigned DC_getResultCapabilities(const DC_Result *result); /* Returns the WU that generated this result. */ DC_Workunit *DC_getResultWU(DC_Result *result); /* Returns the exit code of the client application. */ -int DC_getResultExit(DC_Result *result); +int DC_getResultExit(const DC_Result *result); /* Returns the local name of an output file. */ -char *DC_getResultOutput(DC_Result *result, const char *logicalFileName); +char *DC_getResultOutput(const DC_Result *result, const char *logicalFileName); #ifdef __cplusplus }