From 294bf210b6f4519ad74edb595c1b5c8eb1c02a45 Mon Sep 17 00:00:00 2001 From: vida Date: Mon, 10 Apr 2006 12:36:23 +0000 Subject: [PATCH] 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 --- dcapi/local/test/master.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/dcapi/local/test/master.c b/dcapi/local/test/master.c index c6cfe9d515..ba4faa5503 100644 --- a/dcapi/local/test/master.c +++ b/dcapi/local/test/master.c @@ -6,7 +6,7 @@ /* Function prototypes */ static DC_Workunit * createWU(void); -static void callback_result(DC_Workunit *wu, DC_Result *result) +static void callbackResult(DC_Workunit *wu, DC_Result *result) { printf("Callback function for result destroying WU.\n"); @@ -14,14 +14,14 @@ static void callback_result(DC_Workunit *wu, DC_Result *result) return; } -static void callback_subresult(DC_Workunit *wu, const char*, const char*) +static void callbackSubresult(DC_Workunit *wu, const char*, const char*) { // not impl yet return; } -static void callback_message(DC_Workunit *wu, const char*) +static void callbackMessage(DC_Workunit *wu, const char*) { // not impl yet @@ -33,7 +33,7 @@ int main( int argc, char *argv[]) { DC_Workunit *wu; int retval; - char ch; + //char ch; retval = DC_init("local.conf"); if (retval != DC_OK) { @@ -42,7 +42,7 @@ int main( int argc, char *argv[]) } printf("DC_init returned OK.\n"); - DC_setcb(dc_cb_result, dc_cb_subresult, dc_cb_message); + DC_setcb(callbackResult, callbackSubresult, callbackMessage); wu = createWU();