Commit Graph

34 Commits

Author SHA1 Message Date
gombasg 3d3bdba736 Add 'const' to some function parameters
git-svn-id: svn+ssh://cvs.lpds.sztaki.hu/var/lib/svn/szdg/dcapi/trunk@497 a7169a2c-3604-0410-bc95-c702d8d87f7a
2013-12-02 11:09:24 +01:00
vida ff35787944 DC_getResultExit implemented.
DC_getResultOutput can now give back stdout and stderr files.



git-svn-id: svn+ssh://cvs.lpds.sztaki.hu/var/lib/svn/szdg/dcapi/trunk@491 a7169a2c-3604-0410-bc95-c702d8d87f7a
2013-12-02 11:09:24 +01:00
vida 4cfba68cbc DC_processEvents return if there are no more running WU.
git-svn-id: svn+ssh://cvs.lpds.sztaki.hu/var/lib/svn/szdg/dcapi/trunk@490 a7169a2c-3604-0410-bc95-c702d8d87f7a
2013-12-02 11:09:24 +01:00
gombasg 9f69827703 Follow DC_getCfgStr() changes
Make some needlessly global functions static


git-svn-id: svn+ssh://cvs.lpds.sztaki.hu/var/lib/svn/szdg/dcapi/trunk@482 a7169a2c-3604-0410-bc95-c702d8d87f7a
2013-12-02 11:09:23 +01:00
gombasg f59c00ce3c Use a full prototype for _DC_searchForEvents()
git-svn-id: svn+ssh://cvs.lpds.sztaki.hu/var/lib/svn/szdg/dcapi/trunk@481 a7169a2c-3604-0410-bc95-c702d8d87f7a
2013-12-02 11:09:23 +01:00
gombasg 8332b9887a Add pkg-config support to make application building easier
git-svn-id: svn+ssh://cvs.lpds.sztaki.hu/var/lib/svn/szdg/dcapi/trunk@469 a7169a2c-3604-0410-bc95-c702d8d87f7a
2013-12-02 11:09:22 +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
vida 12a02c3706 Fixed _DC_createResult
Added DC_getResultCapabilities, DC_getResultWU, DC_getResultExit, DC_getResultOutput.



git-svn-id: svn+ssh://cvs.lpds.sztaki.hu/var/lib/svn/szdg/dcapi/trunk@459 a7169a2c-3604-0410-bc95-c702d8d87f7a
2013-12-02 11:09:22 +01:00
vida 2959993756 Changed _DC_searchForEvents
Implemented DC_getWUNumber, DC_getWUId, DC_getWUTag and DC_setWUPriority functions.



git-svn-id: svn+ssh://cvs.lpds.sztaki.hu/var/lib/svn/szdg/dcapi/trunk@458 a7169a2c-3604-0410-bc95-c702d8d87f7a
2013-12-02 11:09:22 +01:00
vida 1eb1502222 Completed DC_processEvents.
git-svn-id: svn+ssh://cvs.lpds.sztaki.hu/var/lib/svn/szdg/dcapi/trunk@453 a7169a2c-3604-0410-bc95-c702d8d87f7a
2013-12-02 11:09:22 +01:00
vida 71e68bdd21 Completed the DC_createResult function.
git-svn-id: svn+ssh://cvs.lpds.sztaki.hu/var/lib/svn/szdg/dcapi/trunk@452 a7169a2c-3604-0410-bc95-c702d8d87f7a
2013-12-02 11:09:21 +01:00
vida b333d0ea9a Definied standard output and error files, and redifined ckpt file.
(In stand-alone version, we dont need input plus output ckpt file)
And definied MAX_SUBRESULTS 100.



git-svn-id: svn+ssh://cvs.lpds.sztaki.hu/var/lib/svn/szdg/dcapi/trunk@451 a7169a2c-3604-0410-bc95-c702d8d87f7a
2013-12-02 11:09:21 +01:00
vida bee2463417 Added API functions to client.c and corrected earliers.
git-svn-id: svn+ssh://cvs.lpds.sztaki.hu/var/lib/svn/szdg/dcapi/trunk@450 a7169a2c-3604-0410-bc95-c702d8d87f7a
2013-12-02 11:09:21 +01:00
vida 2813c2ce2d DC_destroyWU deletes the standard output and error files.
It founds the ckpt file in a defined name.

Standard output and error files were set before the start of the client.



git-svn-id: svn+ssh://cvs.lpds.sztaki.hu/var/lib/svn/szdg/dcapi/trunk@449 a7169a2c-3604-0410-bc95-c702d8d87f7a
2013-12-02 11:09:21 +01:00
vida 8213fe4790 Deleted the function prototypes used only in the boinc section.
git-svn-id: svn+ssh://cvs.lpds.sztaki.hu/var/lib/svn/szdg/dcapi/trunk@448 a7169a2c-3604-0410-bc95-c702d8d87f7a
2013-12-02 11:09:21 +01:00
vida d7cb488207 Correct the return value of the DC_GridCapabilities function.
git-svn-id: svn+ssh://cvs.lpds.sztaki.hu/var/lib/svn/szdg/dcapi/trunk@447 a7169a2c-3604-0410-bc95-c702d8d87f7a
2013-12-02 11:09:21 +01:00
vida db15b0df7e Test application using stdout instead of stderr for logging informations.
git-svn-id: svn+ssh://cvs.lpds.sztaki.hu/var/lib/svn/szdg/dcapi/trunk@446 a7169a2c-3604-0410-bc95-c702d8d87f7a
2013-12-02 11:09:21 +01:00
vida d38c1e88fa Re-definition of some global variable and function parameter.
git-svn-id: svn+ssh://cvs.lpds.sztaki.hu/var/lib/svn/szdg/dcapi/trunk@444 a7169a2c-3604-0410-bc95-c702d8d87f7a
2013-12-02 11:09:21 +01:00
gombasg 4b719848dd DC_timeToCheckpoint is no longer part of the API
git-svn-id: svn+ssh://cvs.lpds.sztaki.hu/var/lib/svn/szdg/dcapi/trunk@443 a7169a2c-3604-0410-bc95-c702d8d87f7a
2013-12-02 11:09:21 +01:00
vida d153259ba2 Added result.c from boinc section // with little modifications.
Its not finished yet!



git-svn-id: svn+ssh://cvs.lpds.sztaki.hu/var/lib/svn/szdg/dcapi/trunk@435 a7169a2c-3604-0410-bc95-c702d8d87f7a
2013-12-02 11:09:20 +01:00
vida 0533b1dd0f Added:
_DC_getWUNyName
_DC_searchForEvents // this calls the g_hash_table_foreach
and _DC_testWUEvents // the callback function for g_hash_table_foreach




git-svn-id: svn+ssh://cvs.lpds.sztaki.hu/var/lib/svn/szdg/dcapi/trunk@434 a7169a2c-3604-0410-bc95-c702d8d87f7a
2013-12-02 11:09:20 +01:00
vida 294bf210b6 Uniform the name of the callback functions.
git-svn-id: svn+ssh://cvs.lpds.sztaki.hu/var/lib/svn/szdg/dcapi/trunk@433 a7169a2c-3604-0410-bc95-c702d8d87f7a
2013-12-02 11:09:20 +01:00
vida 35c91810d3 Callback functions added for the test master application.
It will be moved into the apps dir if it finished, for a good testing application.



git-svn-id: svn+ssh://cvs.lpds.sztaki.hu/var/lib/svn/szdg/dcapi/trunk@432 a7169a2c-3604-0410-bc95-c702d8d87f7a
2013-12-02 11:09:20 +01:00
gombasg 9933363483 Build fixes
git-svn-id: svn+ssh://cvs.lpds.sztaki.hu/var/lib/svn/szdg/dcapi/trunk@428 a7169a2c-3604-0410-bc95-c702d8d87f7a
2013-12-02 11:09:20 +01:00
gombasg c37cb61e5c Rename DC_Filetype to DC_FileType
Let event handling on the client side be similar to the master side


git-svn-id: svn+ssh://cvs.lpds.sztaki.hu/var/lib/svn/szdg/dcapi/trunk@426 a7169a2c-3604-0410-bc95-c702d8d87f7a
2013-12-02 11:09:20 +01:00
vida 373cda0374 Nagyobb egyveleg.
Meg nincs kesz, de mar eleg sok, hogy fel kelljen tolteni.



git-svn-id: svn+ssh://cvs.lpds.sztaki.hu/var/lib/svn/szdg/dcapi/trunk@424 a7169a2c-3604-0410-bc95-c702d8d87f7a
2013-12-02 11:09:19 +01:00
gombasg 7b3175ab02 Use the renamed configuration handling functions and header
git-svn-id: svn+ssh://cvs.lpds.sztaki.hu/var/lib/svn/szdg/dcapi/trunk@346 a7169a2c-3604-0410-bc95-c702d8d87f7a
2013-12-02 11:09:16 +01:00
gombasg 3b6076709e Build the client code for the local backend
git-svn-id: svn+ssh://cvs.lpds.sztaki.hu/var/lib/svn/szdg/dcapi/trunk@340 a7169a2c-3604-0410-bc95-c702d8d87f7a
2013-12-02 11:09:16 +01:00
vida c6114d38fc Implementation of dc_local to Miskolc for the University.
Now the implementation level of the dc_local is the same as the boinc section.



git-svn-id: svn+ssh://cvs.lpds.sztaki.hu/var/lib/svn/szdg/dcapi/trunk@338 a7169a2c-3604-0410-bc95-c702d8d87f7a
2013-12-02 11:09:16 +01:00
gombasg 72571639a8 Add support for building just the master or client side
git-svn-id: svn+ssh://cvs.lpds.sztaki.hu/var/lib/svn/szdg/dcapi/trunk@335 a7169a2c-3604-0410-bc95-c702d8d87f7a
2013-12-02 11:09:15 +01:00
gombasg 3d5b0b28ff New Debian release.
git-svn-id: svn+ssh://cvs.lpds.sztaki.hu/var/lib/svn/szdg/dcapi/trunk@334 a7169a2c-3604-0410-bc95-c702d8d87f7a
2013-12-02 11:09:15 +01:00
gombasg 12b620ba42 Make unexported functions static
Fix various compiler warnings


git-svn-id: svn+ssh://cvs.lpds.sztaki.hu/var/lib/svn/szdg/dcapi/trunk@164 a7169a2c-3604-0410-bc95-c702d8d87f7a
2013-12-02 11:09:12 +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