summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorroot <root@fedora-arm.domain.avtechpulse.com>2012-08-01 10:53:51 -0400
committerroot <root@fedora-arm.domain.avtechpulse.com>2012-08-01 10:53:51 -0400
commit34d2cb9de274e9b65709250c80ff25d3d8635099 (patch)
tree5d9cc452cc75e4d74ef5317785911d6e12e27984
parent8ed39799254b2d93882c0d3364ee338a816e42b3 (diff)
rename echoCb to responseCb
-rw-r--r--response.c6
-rw-r--r--response.h4
2 files changed, 5 insertions, 5 deletions
diff --git a/response.c b/response.c
index 2321937..11cd504 100644
--- a/response.c
+++ b/response.c
@@ -61,7 +61,7 @@ gboolean cbClientInput(gpointer data, gpointer additional)
return FALSE;
}
- //emit a signal which calls the echoCb function
+ //emit a signal which calls the responseCb function
SignalObjectClass myStruct;
myStruct.instance = NULL;
myStruct.cb = writeOutput;
@@ -92,11 +92,11 @@ void initSignals(guint *signal)
g_cclosure_marshal_VOID__POINTER , G_TYPE_NONE, 1, G_TYPE_POINTER);
signalObject = g_object_new(SIGNAL_OBJECT_TYPE, NULL);
- g_signal_connect (signalObject, "runEchoService", G_CALLBACK (echoCb), NULL);
+ g_signal_connect (signalObject, "runEchoService", G_CALLBACK (responseCb), NULL);
}
//send to client 3 times
-void echoCb(gpointer instance, GObject *arg1, gpointer user_data)
+void responseCb(gpointer instance, GObject *arg1, gpointer user_data)
{
static GStaticMutex mutex = G_STATIC_MUTEX_INIT;
g_static_mutex_lock (&mutex);
diff --git a/response.h b/response.h
index 6fca57c..62ea97f 100644
--- a/response.h
+++ b/response.h
@@ -9,9 +9,9 @@ typedef struct _streamStruct {
GPollableOutputStream* out;
} streamStruct;
-void echoCb(gpointer instance, GObject *arg1, gpointer user_data);
+void responseCb(gpointer instance, GObject *arg1, gpointer user_data);
gboolean cbClientInput(gpointer data, gpointer additional);
gboolean cbClientOutput(gpointer data, gpointer additional);
void initSignals(guint *signal);
-void echoCb(gpointer instance, GObject *arg1, gpointer user_data); \ No newline at end of file
+void responseCb(gpointer instance, GObject *arg1, gpointer user_data);