Get rid of some warnings, update the docs (now complete).

git-svn-id: svn+ssh://cvs.lpds.sztaki.hu/var/lib/svn/szdg/dcapi/trunk@2463 a7169a2c-3604-0410-bc95-c702d8d87f7a
This commit is contained in:
zfarkas 2011-01-14 06:50:23 +00:00 committed by Adam Visegradi
parent 6a953dfaec
commit d6c45c9496
6 changed files with 20 additions and 4 deletions

View File

@ -360,6 +360,9 @@ int DC_sendResult(const char *logicalFileName, const char *path,
if (ret)
return DC_ERR_SYSTEM;
break;
case DC_FILE_REMOTE:
/* Ignore this case, entirely handled by BOINC */
break;
}
/* Stupid C++ */

View File

@ -152,7 +152,7 @@ _DC_wu_condor2api_event(DC_Workunit *wu)
_DC_wu_cfg(wu, cfg_management_box));
char *message;
if ((message= _DC_read_message(s->str,
_DCAPI_MSG_ACK,
(char *)_DCAPI_MSG_ACK,
FALSE)))
{
DC_log(LOG_DEBUG, "Acknowledge exists: %s",
@ -162,7 +162,7 @@ _DC_wu_condor2api_event(DC_Workunit *wu)
DC_log(LOG_DEBUG, "Suspend "
"acknowledged");
_DC_read_message(s->str,
_DCAPI_MSG_ACK,
(char *)_DCAPI_MSG_ACK,
TRUE);
wu->asked_to_suspend= TRUE;
}

View File

@ -509,6 +509,7 @@ DC_addWUInput(DC_Workunit *wu,
_DC_destroyPhysicalFile(file);
return(DC_ERR_BADPARAM);
}
case DC_FILE_REMOTE:
break;
}

View File

@ -11,6 +11,7 @@ DC_LABEL_STDOUT
DC_LABEL_STDERR
DC_LABEL_CLIENTLOG
DC_PhysicalFile
DC_RemoteFile
DC_getCfgStr
DC_getCfgInt
DC_getCfgBool

View File

@ -97,8 +97,18 @@ Describes a physical file.
@label: logical name of the file as used by the application.
@path: the real path name of the file.
@mode: usage mode of the file.
@physicalfilename:
@physicalfilehash:
@physicalfilename: filename to be used in case of Attic files.
@physicalfilehash: MD5 hash and size information of Attic files.
<!-- ##### STRUCT DC_RemoteFile ##### -->
<para>
Describes a physical file.
</para>
@label: logical name of the file as used by the application.
@url: the URL of the file.
@remotefilehash: the MD5 hash of the file.
@remotefilesize: the size of the file.
<!-- ##### FUNCTION DC_getCfgStr ##### -->
<para>

View File

@ -559,6 +559,7 @@ int DC_addWUInput(DC_Workunit *wu, const char *logicalFileName, const char *URL,
_DC_destroyPhysicalFile(file);
return DC_ERR_BADPARAM; /* XXX */
}
case DC_FILE_REMOTE:
break;
}