/soc/2015/nakulgulati/main: 119ff1a6bc40: hangouts: hangouts_aut...
Nakul at rock.pidgin.im
Nakul at rock.pidgin.im
Fri Jul 17 18:09:37 EDT 2015
Changeset: 119ff1a6bc40ff36eaeb692cc873f9197a4e3ca5
Author: Nakul Gulati
Date: 2015-07-18 06:09 +0800
Branch: hangouts
URL: https://hg.pidgin.im/soc/2015/nakulgulati/main/rev/119ff1a6bc40
Description:
hangouts: hangouts_auth_get_authorization_header
diffstat:
libpurple/protocols/hangouts/api.c | 13 +++++++++++++
1 files changed, 13 insertions(+), 0 deletions(-)
diffs (22 lines):
diff --git a/libpurple/protocols/hangouts/api.c b/libpurple/protocols/hangouts/api.c
--- a/libpurple/protocols/hangouts/api.c
+++ b/libpurple/protocols/hangouts/api.c
@@ -20,5 +20,18 @@
*/
#include "api.h"
+#include "auth.h"
G_DEFINE_TYPE(HangoutsApi, hangouts_api, G_TYPE_OBJECT);
+
+typedef struct
+{
+ hangouts_oauth_cookies *cookies;
+ gchar *api_key;
+ gchar *header_date;
+ gchar *header_id;
+ gchar *client_id;
+ gchar *email;
+ GTimeVal *sync_timestamp;
+
+} _hangouts_api_data;
More information about the Commits
mailing list