Commit Graph

24 Commits

Author SHA1 Message Date
a.visegradi 8a9acb5957 Added support for the <optional> flag of boinc.
git-svn-id: svn+ssh://cvs.lpds.sztaki.hu/var/lib/svn/szdg/dcapi/trunk@2574 a7169a2c-3604-0410-bc95-c702d8d87f7a
2013-12-02 11:10:02 +01:00
atisu 6c10ad3a94 - prepare for new release (...)
- add support for sticky files on clients



git-svn-id: svn+ssh://cvs.lpds.sztaki.hu/var/lib/svn/szdg/dcapi/trunk@2530 a7169a2c-3604-0410-bc95-c702d8d87f7a
2013-12-02 11:10:02 +01:00
atisu fb918d73e0 - revert to r2524 and new release: 0.12-1 broke handling of remote files
when invoked from previously compiled binaries/ libraries.



git-svn-id: svn+ssh://cvs.lpds.sztaki.hu/var/lib/svn/szdg/dcapi/trunk@2527 a7169a2c-3604-0410-bc95-c702d8d87f7a
2013-12-02 11:10:01 +01:00
atisu 2910b42687 - introduced persistent on clients option for
input files: DC_FILE_PERSISTENT_CLIENT 
   (not documented/ unofficial)
 - added static prefix for replace_regex() (it should not be exposed)



git-svn-id: svn+ssh://cvs.lpds.sztaki.hu/var/lib/svn/szdg/dcapi/trunk@2525 a7169a2c-3604-0410-bc95-c702d8d87f7a
2013-12-02 11:10:01 +01:00
zfarkas 44e9fbf44c Use size_t instead of int for remote file size.
git-svn-id: svn+ssh://cvs.lpds.sztaki.hu/var/lib/svn/szdg/dcapi/trunk@2407 a7169a2c-3604-0410-bc95-c702d8d87f7a
2013-12-02 11:09:59 +01:00
zfarkas 2cb497ec58 Remove DC_addWURemoteInput and DC_addWUInputAdvanced, merge into va_arg'ized
DC_addWUInput.


git-svn-id: svn+ssh://cvs.lpds.sztaki.hu/var/lib/svn/szdg/dcapi/trunk@2406 a7169a2c-3604-0410-bc95-c702d8d87f7a
2013-12-02 11:09:59 +01:00
zfarkas 1397ae1a2b Added support for "remote" files at least in BOINC.
git-svn-id: svn+ssh://cvs.lpds.sztaki.hu/var/lib/svn/szdg/dcapi/trunk@2385 a7169a2c-3604-0410-bc95-c702d8d87f7a
2013-12-02 11:09:59 +01:00
smith 39e5415019 Adding new public function DC_addWUInputAdvanced to support the definition of physical file name and its hash.
Implemented only for boinc. Other backends drop error.



git-svn-id: svn+ssh://cvs.lpds.sztaki.hu/var/lib/svn/szdg/dcapi/trunk@2321 a7169a2c-3604-0410-bc95-c702d8d87f7a
2013-12-02 11:09:58 +01:00
smith 0d143bf7c7 Modifying md5 has file creation for DC_addWUInput():
Hash file is created directly in the boinc download directory instead of the DC-API workunit working directory.


git-svn-id: svn+ssh://cvs.lpds.sztaki.hu/var/lib/svn/szdg/dcapi/trunk@2316 a7169a2c-3604-0410-bc95-c702d8d87f7a
2013-12-02 11:09:58 +01:00
gombasg b2b28af755 Move the definition of DC_PhysicalFile to dc_common.h so dc_internal.h can be
included on the client side too


git-svn-id: svn+ssh://cvs.lpds.sztaki.hu/var/lib/svn/szdg/dcapi/trunk@1033 a7169a2c-3604-0410-bc95-c702d8d87f7a
2013-12-02 11:09:51 +01:00
gombasg f8d85ebbff Use __attribute__ only with gcc
git-svn-id: svn+ssh://cvs.lpds.sztaki.hu/var/lib/svn/szdg/dcapi/trunk@705 a7169a2c-3604-0410-bc95-c702d8d87f7a
2013-12-02 11:09:35 +01:00
gombasg f23325e93a Windows compatibility improvements
git-svn-id: svn+ssh://cvs.lpds.sztaki.hu/var/lib/svn/szdg/dcapi/trunk@699 a7169a2c-3604-0410-bc95-c702d8d87f7a
2013-12-02 11:09:35 +01:00
gombasg ca2ab1d0be New helper functions: DC_getCfgBool(), DC_getClientCfgBool()
Move _DC_createPhysicalFile() and _DC_destroyPhysicalFile() to common/util.c


git-svn-id: svn+ssh://cvs.lpds.sztaki.hu/var/lib/svn/szdg/dcapi/trunk@679 a7169a2c-3604-0410-bc95-c702d8d87f7a
2013-12-02 11:09:33 +01:00
gombasg ab2761ab91 Rename symbols so there are no conflicts between the client and the master
git-svn-id: svn+ssh://cvs.lpds.sztaki.hu/var/lib/svn/szdg/dcapi/trunk@574 a7169a2c-3604-0410-bc95-c702d8d87f7a
2013-12-02 11:09:28 +01:00
gombasg de652249dc Move the definiton of logical names for stdout/stderr/client log to dc_common.h
and rename them to DC_LABEL_*


git-svn-id: svn+ssh://cvs.lpds.sztaki.hu/var/lib/svn/szdg/dcapi/trunk@569 a7169a2c-3604-0410-bc95-c702d8d87f7a
2013-12-02 11:09:27 +01:00
gombasg 81b579c6f8 - New functions: DC_getCfgInt(), DC_getClientCfgStr(), DC_getClientCfgInt()
- DC_getCfgStr() now returns dynamically allocated memory
- Use glib's key-vale-file parsing on the master side
- Allow unit suffixes for numeric values (like "1GB")


git-svn-id: svn+ssh://cvs.lpds.sztaki.hu/var/lib/svn/szdg/dcapi/trunk@479 a7169a2c-3604-0410-bc95-c702d8d87f7a
2013-12-02 11:09:23 +01:00
gombasg a131872db8 Rename _DC_getCfgStr() to DC_getCfgStr() and move it to dc_common.h
Move DC_log() and DC_vlog() to dc_common.h so they are also available on
the client side


git-svn-id: svn+ssh://cvs.lpds.sztaki.hu/var/lib/svn/szdg/dcapi/trunk@461 a7169a2c-3604-0410-bc95-c702d8d87f7a
2013-12-02 11:09:22 +01:00
gombasg 52d956c55d New error code: DC_ERR_SYSTEM
git-svn-id: svn+ssh://cvs.lpds.sztaki.hu/var/lib/svn/szdg/dcapi/trunk@436 a7169a2c-3604-0410-bc95-c702d8d87f7a
2013-12-02 11:09:20 +01:00
gombasg 4228d70513 Move documentation to gtk-doc-tools
git-svn-id: svn+ssh://cvs.lpds.sztaki.hu/var/lib/svn/szdg/dcapi/trunk@425 a7169a2c-3604-0410-bc95-c702d8d87f7a
2013-12-02 11:09:20 +01:00
gombasg 2d58e3c535 Add new error codes
git-svn-id: svn+ssh://cvs.lpds.sztaki.hu/var/lib/svn/szdg/dcapi/trunk@363 a7169a2c-3604-0410-bc95-c702d8d87f7a
2013-12-02 11:09:17 +01:00
gombasg 6b2a77c9d9 Various cleanups
git-svn-id: svn+ssh://cvs.lpds.sztaki.hu/var/lib/svn/szdg/dcapi/trunk@351 a7169a2c-3604-0410-bc95-c702d8d87f7a
2013-12-02 11:09:16 +01:00
gombasg b05befe6db Uploading the new API
git-svn-id: svn+ssh://cvs.lpds.sztaki.hu/var/lib/svn/szdg/dcapi/trunk@343 a7169a2c-3604-0410-bc95-c702d8d87f7a
2013-12-02 11:09:16 +01:00
gombasg 1cbadb0f36 Use gcc for checking the arguments of DC_log() and DC_vlog()
git-svn-id: svn+ssh://cvs.lpds.sztaki.hu/var/lib/svn/szdg/dcapi/trunk@322 a7169a2c-3604-0410-bc95-c702d8d87f7a
2013-12-02 11:09:15 +01:00
gombasg da5624463d Add a common header for the client and server side
git-svn-id: svn+ssh://cvs.lpds.sztaki.hu/var/lib/svn/szdg/dcapi/trunk@316 a7169a2c-3604-0410-bc95-c702d8d87f7a
2013-12-02 11:09:14 +01:00