From 8213fe47903f1fb6e06d82cac5f6fa1095747eed Mon Sep 17 00:00:00 2001 From: vida Date: Tue, 11 Apr 2006 14:02:30 +0000 Subject: [PATCH] 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 --- dcapi/local/dc_local.h | 43 ++---------------------------------------- 1 file changed, 2 insertions(+), 41 deletions(-) diff --git a/dcapi/local/dc_local.h b/dcapi/local/dc_local.h index 7c602ade64..6bebb6b10c 100644 --- a/dcapi/local/dc_local.h +++ b/dcapi/local/dc_local.h @@ -21,10 +21,7 @@ extern "C" { #define CFG_SLEEPINTERVAL "SleepingInterval" #define CFG_INSTANCEUUID "InstanceUUID" - #define DEFAULT_SLEEP_INTERVAL 5 -#define MAX_SUBRESULTS 20 - /* File types in the working directory */ typedef enum @@ -58,16 +55,13 @@ struct _DC_Workunit char *workdir; int pid; - /* Input file definitions. Elements are of type char * */ + /* Input file definitions. Elements are of type DC_LogicalFile */ GList *input_files; int num_inputs; /* Output file definitions. Elements are of type char * */ GList *output_files; int num_outputs; - - /* Name of the checkpoint file, if exists (relative to workdir) */ - char *ckpt_name; }; struct _DC_Result @@ -105,42 +99,9 @@ DC_PhysicalFile *_DC_createPhysicalFile(const char *label, /* De-allocates a physical file descriptor */ void _DC_destroyPhysicalFile(DC_PhysicalFile *file); +/* Calls a g_hash_table_foreach function for the wu_table */ int _DC_searchForEvents(); -/* Parses the project's config.xml */ -int _DC_parseConfigXML(const char *file); - -/* Returns the Boinc upload directory */ -char *_DC_getUploadDir(void); - -/* Returns the Boinc download directory */ -char *_DC_getDownloadDir(void); - -/* Returns the Boinc upload/download hashing */ -int _DC_getUldlDirFanout(void); - -/* Returns the database name */ -char *_DC_getDBName(void); - -/* Returns the database host */ -char *_DC_getDBHost(void); - -/* Returns the database user ID */ -char *_DC_getDBUser(void); - -/* Returns the database password */ -char *_DC_getDBPasswd(void); - -/* Initializes the database connection */ -int _DC_initDB(void); - -/* Allocates a physical file descriptor */ -DC_PhysicalFile *_DC_createPhysicalFile(const char *label, - const char *path); - -/* De-allocates a physical file descriptor */ -void _DC_destroyPhysicalFile(DC_PhysicalFile *file); - /* Creates a new DC_Result */ DC_Result *_DC_createResult(const char *wu_name);