Commit Graph

6 Commits

Author SHA1 Message Date
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 b32ab8bdd6 New common function to initialize config. files sent to the clients
git-svn-id: svn+ssh://cvs.lpds.sztaki.hu/var/lib/svn/szdg/dcapi/trunk@817 a7169a2c-3604-0410-bc95-c702d8d87f7a
2013-12-02 11:09:40 +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 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 1b92d7e515 GErrors should be initialized to NULL
git-svn-id: svn+ssh://cvs.lpds.sztaki.hu/var/lib/svn/szdg/dcapi/trunk@500 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