libpurple/protocols/novell/novell.c

changeset 41775
82c861678f39
parent 41763
4a51008d3f64
child 41799
d567f89d6a9b
equal deleted inserted replaced
41774:170078e728c0 41775:82c861678f39
2183 /******************************************************************************* 2183 /*******************************************************************************
2184 * Protocol Ops 2184 * Protocol Ops
2185 ******************************************************************************/ 2185 ******************************************************************************/
2186 2186
2187 static void 2187 static void
2188 novell_login(PurpleAccount * account) 2188 novell_login(G_GNUC_UNUSED PurpleProtocol *protocol, PurpleAccount * account) {
2189 {
2190 PurpleConnection *gc; 2189 PurpleConnection *gc;
2191 NMUser *user = NULL; 2190 NMUser *user = NULL;
2192 const char *server; 2191 const char *server;
2193 const char *name; 2192 const char *name;
2194 int port; 2193 int port;
2239 user->cancellable, novell_login_callback, gc); 2238 user->cancellable, novell_login_callback, gc);
2240 } 2239 }
2241 } 2240 }
2242 2241
2243 static void 2242 static void
2244 novell_close(PurpleConnection * gc) 2243 novell_close(G_GNUC_UNUSED PurpleProtocol *protocol, PurpleConnection * gc) {
2245 {
2246 NMUser *user; 2244 NMUser *user;
2247 NMConn *conn; 2245 NMConn *conn;
2248 2246
2249 if (gc == NULL) 2247 if (gc == NULL)
2250 return; 2248 return;
3007 3005
3008 return NULL; 3006 return NULL;
3009 } 3007 }
3010 3008
3011 static GList * 3009 static GList *
3012 novell_status_types(PurpleAccount *account) 3010 novell_status_types(G_GNUC_UNUSED PurpleProtocol *protocol,
3011 PurpleAccount *account)
3013 { 3012 {
3014 GList *status_types = NULL; 3013 GList *status_types = NULL;
3015 PurpleStatusType *type; 3014 PurpleStatusType *type;
3016 3015
3017 g_return_val_if_fail(account != NULL, NULL); 3016 g_return_val_if_fail(account != NULL, NULL);

mercurial