Commit Graph

48 Commits

Author SHA1 Message Date
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
vida 5e7b95d61e Konstansoknak DC_ elotag javitasa!
git-svn-id: svn+ssh://cvs.lpds.sztaki.hu/var/lib/svn/szdg/dcapi/trunk@281 a7169a2c-3604-0410-bc95-c702d8d87f7a
2013-12-02 11:09:13 +01:00
vida 60b3e6ef92 A teljes DC client api definialva!
Meg esetleges valtoztatasok lehetnek, de jo kiindulasi alap.

Mar csak a dc_client.c-t kell implementalni hozza eloszor BOINC-ra!



git-svn-id: svn+ssh://cvs.lpds.sztaki.hu/var/lib/svn/szdg/dcapi/trunk@280 a7169a2c-3604-0410-bc95-c702d8d87f7a
2013-12-02 11:09:13 +01:00
gombasg 1ad378ec42 Update the config.{guess,sub} scripts at the right location
git-svn-id: svn+ssh://cvs.lpds.sztaki.hu/var/lib/svn/szdg/dcapi/trunk@179 a7169a2c-3604-0410-bc95-c702d8d87f7a
2013-12-02 11:09:13 +01:00
gombasg b4a707b903 Boinc flavor: set the current directory to the working directory specified in
the config file. This is needed when the master is started from config.xml


git-svn-id: svn+ssh://cvs.lpds.sztaki.hu/var/lib/svn/szdg/dcapi/trunk@178 a7169a2c-3604-0410-bc95-c702d8d87f7a
2013-12-02 11:09:13 +01:00
atisu 2c4f40fac8 boinc_db.h was not found when using compiled boinc5 ( --with-boinc)
git-svn-id: svn+ssh://cvs.lpds.sztaki.hu/var/lib/svn/szdg/dcapi/trunk@176 a7169a2c-3604-0410-bc95-c702d8d87f7a
2013-12-02 11:09:13 +01:00
atisu 020c957d55 kis fejlesztobaratsag noveles
git-svn-id: svn+ssh://cvs.lpds.sztaki.hu/var/lib/svn/szdg/dcapi/trunk@175 a7169a2c-3604-0410-bc95-c702d8d87f7a
2013-12-02 11:09:13 +01:00
gombasg d1ee94a9cf We need to Build-Depend on debhelper
git-svn-id: svn+ssh://cvs.lpds.sztaki.hu/var/lib/svn/szdg/dcapi/trunk@170 a7169a2c-3604-0410-bc95-c702d8d87f7a
2013-12-02 11:09:13 +01:00
gombasg 3330bda3b4 Use the variables set by the new Boinc autoconf macros
git-svn-id: svn+ssh://cvs.lpds.sztaki.hu/var/lib/svn/szdg/dcapi/trunk@169 a7169a2c-3604-0410-bc95-c702d8d87f7a
2013-12-02 11:09:13 +01:00
gombasg 1d9bc7dc9e Use the right #include styles
git-svn-id: svn+ssh://cvs.lpds.sztaki.hu/var/lib/svn/szdg/dcapi/trunk@168 a7169a2c-3604-0410-bc95-c702d8d87f7a
2013-12-02 11:09:13 +01:00
gombasg d27c1aa1a0 The project name is not used anywhere. Make the code match this fact.
git-svn-id: svn+ssh://cvs.lpds.sztaki.hu/var/lib/svn/szdg/dcapi/trunk@167 a7169a2c-3604-0410-bc95-c702d8d87f7a
2013-12-02 11:09:13 +01:00
gombasg 68d0316abd <error_numbers.h> is not part of the public Boinc API, and we do not need it,
so do not use it


git-svn-id: svn+ssh://cvs.lpds.sztaki.hu/var/lib/svn/szdg/dcapi/trunk@166 a7169a2c-3604-0410-bc95-c702d8d87f7a
2013-12-02 11:09:12 +01:00
gombasg 0e3d78d0e4 Let 'autoreconf' find the Boinc detection macros
git-svn-id: svn+ssh://cvs.lpds.sztaki.hu/var/lib/svn/szdg/dcapi/trunk@165 a7169a2c-3604-0410-bc95-c702d8d87f7a
2013-12-02 11:09:12 +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 5e624897c7 Change the version to match configure.ac
git-svn-id: svn+ssh://cvs.lpds.sztaki.hu/var/lib/svn/szdg/dcapi/trunk@163 a7169a2c-3604-0410-bc95-c702d8d87f7a
2013-12-02 11:09:12 +01:00
gombasg 5e1b94f00d Move Boinc detection to a separate .m4 file so it can be reused
Update the package version to match the comments in the header files


git-svn-id: svn+ssh://cvs.lpds.sztaki.hu/var/lib/svn/szdg/dcapi/trunk@162 a7169a2c-3604-0410-bc95-c702d8d87f7a
2013-12-02 11:09:12 +01:00
gombasg 46c59fa5eb The Boinc flavor needs uuid-dev
git-svn-id: svn+ssh://cvs.lpds.sztaki.hu/var/lib/svn/szdg/dcapi/trunk@161 a7169a2c-3604-0410-bc95-c702d8d87f7a
2013-12-02 11:09:12 +01:00
gombasg 2e2d76eb8a Initial debian packaging
git-svn-id: svn+ssh://cvs.lpds.sztaki.hu/var/lib/svn/szdg/dcapi/trunk@148 a7169a2c-3604-0410-bc95-c702d8d87f7a
2013-12-02 11:09:12 +01:00
gombasg 04c0ca3f4d Boinc 4.x compatibility fixes
git-svn-id: svn+ssh://cvs.lpds.sztaki.hu/var/lib/svn/szdg/dcapi/trunk@147 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
atisu d3e8698e8a corrected some errors: wrong parameters for dir_hier_path ( char* <-> bool),
wrong member for SCHED_MSG_LOG ( CRITICAL -> MSG_CRITICAL) ( boinc5)
RSAEuro removed, using -lcrypt instead if needed. 
fixed some path-s in the Makefile, etc



git-svn-id: svn+ssh://cvs.lpds.sztaki.hu/var/lib/svn/szdg/dcapi/trunk@90 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
gombasg 042f0482fb Create repository layout
git-svn-id: svn+ssh://cvs.lpds.sztaki.hu/var/lib/svn/szdg/dcapi/trunk@1 a7169a2c-3604-0410-bc95-c702d8d87f7a
2013-12-02 11:09:12 +01:00