Commit Graph

22567 Commits

Author SHA1 Message Date
gombasg 57f6541602 Refactoring updates
git-svn-id: svn+ssh://cvs.lpds.sztaki.hu/var/lib/svn/szdg/dcapi/trunk@376 a7169a2c-3604-0410-bc95-c702d8d87f7a
2013-12-02 11:09:17 +01:00
gombasg 723571388d validate_util is no longer needed
git-svn-id: svn+ssh://cvs.lpds.sztaki.hu/var/lib/svn/szdg/dcapi/trunk@375 a7169a2c-3604-0410-bc95-c702d8d87f7a
2013-12-02 11:09:17 +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 d7b32c76a6 Work unit handling refactorization
git-svn-id: svn+ssh://cvs.lpds.sztaki.hu/var/lib/svn/szdg/dcapi/trunk@362 a7169a2c-3604-0410-bc95-c702d8d87f7a
2013-12-02 11:09:17 +01:00
gombasg 74e49cc33a Add wrapper code for Boinc DB access
git-svn-id: svn+ssh://cvs.lpds.sztaki.hu/var/lib/svn/szdg/dcapi/trunk@358 a7169a2c-3604-0410-bc95-c702d8d87f7a
2013-12-02 11:09:17 +01:00
gombasg 818f028d46 Use glib-2.0
git-svn-id: svn+ssh://cvs.lpds.sztaki.hu/var/lib/svn/szdg/dcapi/trunk@357 a7169a2c-3604-0410-bc95-c702d8d87f7a
2013-12-02 11:09:17 +01:00
gombasg 3a4d29cbc3 Add wrapper code for accessing config.xml data
git-svn-id: svn+ssh://cvs.lpds.sztaki.hu/var/lib/svn/szdg/dcapi/trunk@356 a7169a2c-3604-0410-bc95-c702d8d87f7a
2013-12-02 11:09:17 +01:00
gombasg c6f2961349 Remove useless file
git-svn-id: svn+ssh://cvs.lpds.sztaki.hu/var/lib/svn/szdg/dcapi/trunk@355 a7169a2c-3604-0410-bc95-c702d8d87f7a
2013-12-02 11:09:16 +01:00
gombasg e1cf7a340f Merge header files into one
git-svn-id: svn+ssh://cvs.lpds.sztaki.hu/var/lib/svn/szdg/dcapi/trunk@354 a7169a2c-3604-0410-bc95-c702d8d87f7a
2013-12-02 11:09:16 +01:00
gombasg 1a805a83dd Create configure if neccessary
git-svn-id: svn+ssh://cvs.lpds.sztaki.hu/var/lib/svn/szdg/dcapi/trunk@353 a7169a2c-3604-0410-bc95-c702d8d87f7a
2013-12-02 11:09:16 +01:00
gombasg 116f3f4c30 Use glib-2.0
git-svn-id: svn+ssh://cvs.lpds.sztaki.hu/var/lib/svn/szdg/dcapi/trunk@352 a7169a2c-3604-0410-bc95-c702d8d87f7a
2013-12-02 11:09:16 +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 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 2c33b7b471 Convert to the new function names
Make the parsing simpler


git-svn-id: svn+ssh://cvs.lpds.sztaki.hu/var/lib/svn/szdg/dcapi/trunk@345 a7169a2c-3604-0410-bc95-c702d8d87f7a
2013-12-02 11:09:16 +01:00
gombasg 92d8f82579 Rename the configuration file handling functions and move them to a top-level header
git-svn-id: svn+ssh://cvs.lpds.sztaki.hu/var/lib/svn/szdg/dcapi/trunk@344 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 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 b87ef14475 Fix typo
git-svn-id: svn+ssh://cvs.lpds.sztaki.hu/var/lib/svn/szdg/dcapi/trunk@337 a7169a2c-3604-0410-bc95-c702d8d87f7a
2013-12-02 11:09:15 +01:00
gombasg 9a348c811f Need to add AM_CPPFLAGS to per-target CPPFLAGS
git-svn-id: svn+ssh://cvs.lpds.sztaki.hu/var/lib/svn/szdg/dcapi/trunk@336 a7169a2c-3604-0410-bc95-c702d8d87f7a
2013-12-02 11:09:15 +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 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 8d633795d7 dc_common.h needs to be installed
git-svn-id: svn+ssh://cvs.lpds.sztaki.hu/var/lib/svn/szdg/dcapi/trunk@329 a7169a2c-3604-0410-bc95-c702d8d87f7a
2013-12-02 11:09:15 +01:00
gombasg 7e3fecbe5a Add stubs for suspendWU and resubmitWU
git-svn-id: svn+ssh://cvs.lpds.sztaki.hu/var/lib/svn/szdg/dcapi/trunk@325 a7169a2c-3604-0410-bc95-c702d8d87f7a
2013-12-02 11:09:15 +01:00
gombasg 4d28ced145 Use the correct return type
git-svn-id: svn+ssh://cvs.lpds.sztaki.hu/var/lib/svn/szdg/dcapi/trunk@324 a7169a2c-3604-0410-bc95-c702d8d87f7a
2013-12-02 11:09:15 +01:00
gombasg 984134e05f Including C file is evil. The server-side logging may not be appropriate for
the client side anyway.


git-svn-id: svn+ssh://cvs.lpds.sztaki.hu/var/lib/svn/szdg/dcapi/trunk@323 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 004f56dc7a Use the same function naming convention as the server side
git-svn-id: svn+ssh://cvs.lpds.sztaki.hu/var/lib/svn/szdg/dcapi/trunk@321 a7169a2c-3604-0410-bc95-c702d8d87f7a
2013-12-02 11:09:15 +01:00
gombasg 2ed6bf75c3 Fix DC_ResolveFileName example
git-svn-id: svn+ssh://cvs.lpds.sztaki.hu/var/lib/svn/szdg/dcapi/trunk@320 a7169a2c-3604-0410-bc95-c702d8d87f7a
2013-12-02 11:09:14 +01:00
gombasg a2e5892255 Use enum instead of #define for the file types
Actually use the constants if we have defined them...


git-svn-id: svn+ssh://cvs.lpds.sztaki.hu/var/lib/svn/szdg/dcapi/trunk@319 a7169a2c-3604-0410-bc95-c702d8d87f7a
2013-12-02 11:09:14 +01:00
gombasg 3f32d1aaf1 We no longer need to include <dc.h>
git-svn-id: svn+ssh://cvs.lpds.sztaki.hu/var/lib/svn/szdg/dcapi/trunk@317 a7169a2c-3604-0410-bc95-c702d8d87f7a
2013-12-02 11:09:14 +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
gombasg 8af91eae33 Always include <config.h>
git-svn-id: svn+ssh://cvs.lpds.sztaki.hu/var/lib/svn/szdg/dcapi/trunk@315 a7169a2c-3604-0410-bc95-c702d8d87f7a
2013-12-02 11:09:14 +01:00
gombasg c54246ec2c Synchronize code with the clgr branch
git-svn-id: svn+ssh://cvs.lpds.sztaki.hu/var/lib/svn/szdg/dcapi/trunk@314 a7169a2c-3604-0410-bc95-c702d8d87f7a
2013-12-02 11:09:14 +01:00
gombasg 290f0c5b1f We need a recent boinc-dev to have the dependencies right
git-svn-id: svn+ssh://cvs.lpds.sztaki.hu/var/lib/svn/szdg/dcapi/trunk@304 a7169a2c-3604-0410-bc95-c702d8d87f7a
2013-12-02 11:09:14 +01:00
gombasg 728bb92a71 It looks we need libmysqlclient-dev
git-svn-id: svn+ssh://cvs.lpds.sztaki.hu/var/lib/svn/szdg/dcapi/trunk@300 a7169a2c-3604-0410-bc95-c702d8d87f7a
2013-12-02 11:09:14 +01:00
gombasg 6aa06a8299 Turn on really verbose mode
git-svn-id: svn+ssh://cvs.lpds.sztaki.hu/var/lib/svn/szdg/dcapi/trunk@299 a7169a2c-3604-0410-bc95-c702d8d87f7a
2013-12-02 11:09:14 +01:00
gombasg e99194349b It seems we do not need libz
git-svn-id: svn+ssh://cvs.lpds.sztaki.hu/var/lib/svn/szdg/dcapi/trunk@298 a7169a2c-3604-0410-bc95-c702d8d87f7a
2013-12-02 11:09:14 +01:00
gombasg 8dc139c62f New Debian release
git-svn-id: svn+ssh://cvs.lpds.sztaki.hu/var/lib/svn/szdg/dcapi/trunk@297 a7169a2c-3604-0410-bc95-c702d8d87f7a
2013-12-02 11:09:14 +01:00
gombasg cdd6325b72 Fix syntax errors
git-svn-id: svn+ssh://cvs.lpds.sztaki.hu/var/lib/svn/szdg/dcapi/trunk@296 a7169a2c-3604-0410-bc95-c702d8d87f7a
2013-12-02 11:09:13 +01:00
gombasg 63117c64c2 Fix typo
git-svn-id: svn+ssh://cvs.lpds.sztaki.hu/var/lib/svn/szdg/dcapi/trunk@295 a7169a2c-3604-0410-bc95-c702d8d87f7a
2013-12-02 11:09:13 +01:00
gombasg 46f7caf453 Link the client lib with the BOINC libs
git-svn-id: svn+ssh://cvs.lpds.sztaki.hu/var/lib/svn/szdg/dcapi/trunk@294 a7169a2c-3604-0410-bc95-c702d8d87f7a
2013-12-02 11:09:13 +01:00
gombasg 26418861b9 Now we need the client side of BOINC too
git-svn-id: svn+ssh://cvs.lpds.sztaki.hu/var/lib/svn/szdg/dcapi/trunk@293 a7169a2c-3604-0410-bc95-c702d8d87f7a
2013-12-02 11:09:13 +01:00
gombasg 48bcf8c830 Updated from the numsys_search version
git-svn-id: svn+ssh://cvs.lpds.sztaki.hu/var/lib/svn/szdg/dcapi/trunk@292 a7169a2c-3604-0410-bc95-c702d8d87f7a
2013-12-02 11:09:13 +01:00
gombasg 835d0080ce Build a client library for BOINC
git-svn-id: svn+ssh://cvs.lpds.sztaki.hu/var/lib/svn/szdg/dcapi/trunk@291 a7169a2c-3604-0410-bc95-c702d8d87f7a
2013-12-02 11:09:13 +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
vida e5b86bd8c2 Az elso verzioja a BOINC-os dc_client.c-nek, valamint egy apro javitas a ClusterGrid-es versioban.
(a DC_Finish fuggveny parametere az egyikben int a masikban void volt)



git-svn-id: svn+ssh://cvs.lpds.sztaki.hu/var/lib/svn/szdg/dcapi/trunk@284 a7169a2c-3604-0410-bc95-c702d8d87f7a
2013-12-02 11:09:13 +01:00
vida bbd3c605d6 Javitasok:
egy hianyzo include
 a DC_Finish parametere void helyett (int exitcode)
 a DC_OK es DC_ERROR pedig definialva van mar a dc.h-ban es arra tobben is visszamutatnak, igy itt nem szukseges!



git-svn-id: svn+ssh://cvs.lpds.sztaki.hu/var/lib/svn/szdg/dcapi/trunk@283 a7169a2c-3604-0410-bc95-c702d8d87f7a
2013-12-02 11:09:13 +01:00
vida 8a633edfd9 Egy gepelesi hiba lett csak javitva!
git-svn-id: svn+ssh://cvs.lpds.sztaki.hu/var/lib/svn/szdg/dcapi/trunk@282 a7169a2c-3604-0410-bc95-c702d8d87f7a
2013-12-02 11:09:13 +01:00