Commit Graph

25 Commits

Author SHA1 Message Date
smith 3c1832c9f9 Fix typo and add the function to the header.
git-svn-id: svn+ssh://cvs.lpds.sztaki.hu/var/lib/svn/szdg/dcapi/trunk@2457 a7169a2c-3604-0410-bc95-c702d8d87f7a
2013-12-02 11:10:00 +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 0d28e98f9f DC_addWUInput function is modified to receive externally generated hash for the input file. This hash is received and stored under boinc in a file with the same name and extension ".md5".
git-svn-id: svn+ssh://cvs.lpds.sztaki.hu/var/lib/svn/szdg/dcapi/trunk@2315 a7169a2c-3604-0410-bc95-c702d8d87f7a
2013-12-02 11:09:58 +01:00
gombasg dc63accd89 Add separate functions for setting the master callbacks
git-svn-id: svn+ssh://cvs.lpds.sztaki.hu/var/lib/svn/szdg/dcapi/trunk@1360 a7169a2c-3604-0410-bc95-c702d8d87f7a
2013-12-02 11:09:53 +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 49c37a4f42 Introduce DC_getResultCPUTime() and add the BOINC implementation
git-svn-id: svn+ssh://cvs.lpds.sztaki.hu/var/lib/svn/szdg/dcapi/trunk@1002 a7169a2c-3604-0410-bc95-c702d8d87f7a
2013-12-02 11:09:49 +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 a3e599332e Add DC_getClientCfgDouble() because BOINC sometimes requires configuration
values that do not fit in an 'int'


git-svn-id: svn+ssh://cvs.lpds.sztaki.hu/var/lib/svn/szdg/dcapi/trunk@539 a7169a2c-3604-0410-bc95-c702d8d87f7a
2013-12-02 11:09:26 +01:00
gombasg 32280f169f 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
2013-12-02 11:09:24 +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 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 5dc21f22f9 Rename DC_processResults() to DC_processEvents()
Add file mode to DC_PhysicalFile


git-svn-id: svn+ssh://cvs.lpds.sztaki.hu/var/lib/svn/szdg/dcapi/trunk@385 a7169a2c-3604-0410-bc95-c702d8d87f7a
2013-12-02 11:09:18 +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 df5c6cc7da Minor rearrangements
git-svn-id: svn+ssh://cvs.lpds.sztaki.hu/var/lib/svn/szdg/dcapi/trunk@330 a7169a2c-3604-0410-bc95-c702d8d87f7a
2013-12-02 11:09:15 +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
vida 3929f47649 A DC_CreateWU visszateresi erteke int volt DC_Workunit tipus helyett! Javitva.
git-svn-id: svn+ssh://cvs.lpds.sztaki.hu/var/lib/svn/szdg/dcapi/trunk@290 a7169a2c-3604-0410-bc95-c702d8d87f7a
2013-12-02 11:09:13 +01:00
gombasg 00f8d22a05 Autotooled dcapi with 4.x/5.x Boinc compatibility and clgr support included
git-svn-id: svn+ssh://cvs.lpds.sztaki.hu/var/lib/svn/szdg/dcapi/trunk@145 a7169a2c-3604-0410-bc95-c702d8d87f7a
2013-12-02 11:09:12 +01:00
kadam 3ff999d6f7 imported from cvs
git-svn-id: svn+ssh://cvs.lpds.sztaki.hu/var/lib/svn/szdg/dcapi/trunk@75 a7169a2c-3604-0410-bc95-c702d8d87f7a
2013-12-02 11:09:12 +01:00