[evolution-ews] Rename response_cb typedef to EEwsResponseCallback.
- From: Matthew Barnes <mbarnes src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution-ews] Rename response_cb typedef to EEwsResponseCallback.
- Date: Sat, 14 Jul 2012 12:30:54 +0000 (UTC)
commit e36beb620902a231efe0d1a83a98f93d8840434d
Author: Matthew Barnes <mbarnes redhat com>
Date: Sat Jul 14 08:14:37 2012 -0400
Rename response_cb typedef to EEwsResponseCallback.
Also make the typedef public.
src/server/e-ews-connection.c | 6 ++----
src/server/e-ews-connection.h | 9 ++++++---
2 files changed, 8 insertions(+), 7 deletions(-)
---
diff --git a/src/server/e-ews-connection.c b/src/server/e-ews-connection.c
index 37d5285..04f4346 100644
--- a/src/server/e-ews-connection.c
+++ b/src/server/e-ews-connection.c
@@ -60,8 +60,6 @@ static GHashTable *loaded_connections_permissions = NULL;
static gboolean ews_next_request (gpointer _cnc);
static gint comp_func (gconstpointer a, gconstpointer b);
-typedef void (*response_cb) (ESoapResponse *response,
- GSimpleAsyncResult *simple);
static void ews_response_cb (SoupSession *session, SoupMessage *msg, gpointer data);
static void ews_connection_authenticate (SoupSession *sess,
@@ -116,7 +114,7 @@ struct _EwsNode {
GSimpleAsyncResult *simple;
gint pri; /* the command priority */
- response_cb cb;
+ EEwsResponseCallback cb;
GCancellable *cancellable;
gulong cancel_handler_id;
@@ -340,7 +338,7 @@ ews_cancel_request (GCancellable *cancellable,
static void
ews_connection_queue_request (EEwsConnection *cnc,
ESoapMessage *msg,
- response_cb cb,
+ EEwsResponseCallback cb,
gint pri,
GCancellable *cancellable,
GSimpleAsyncResult *simple)
diff --git a/src/server/e-ews-connection.h b/src/server/e-ews-connection.h
index 80010d0..fbf0fba 100644
--- a/src/server/e-ews-connection.h
+++ b/src/server/e-ews-connection.h
@@ -62,9 +62,12 @@ enum {
EWS_PRIORITY_HIGH
};
-typedef void (*EEwsRequestCreationCallback) (ESoapMessage *msg,
- gpointer user_data);
-typedef void (*EwsProgressFn) (gpointer object, gint percent);
+typedef void (*EEwsRequestCreationCallback) (ESoapMessage *msg,
+ gpointer user_data);
+typedef void (*EwsProgressFn) (gpointer object,
+ gint percent);
+typedef void (*EEwsResponseCallback) (ESoapResponse *response,
+ GSimpleAsyncResult *simple);
typedef enum {
EWS_SEARCH_AD,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]