[Vala] [Patch] Path for the librest binding
- From: Бака Гайдзин <troorl gmail com>
- To: vala-list gnome org
- Subject: [Vala] [Patch] Path for the librest binding
- Date: Thu, 7 Jan 2010 13:12:04 +0200
Hi.
You missed two functions in the librest binding - request_token and
access_token. Please, add this patch to the mainstream.
--- /usr/share/vala/vapi/rest.vapi 2010-01-07 01:24:00.971025260 +0200
+++ rest.vapi 2010-01-07 13:02:02.071039081 +0200
@@ -64,6 +64,10 @@ namespace Rest {
public static bool auth_step (Rest.OAuthProxy proxy, string
function) throws GLib.Error;
[CCode (cname = "oauth_proxy_auth_step_async")]
public static bool auth_step_async (Rest.OAuthProxy proxy, string
function, Rest.OAuthProxyAuthCallback callback, GLib.Object
weak_object) throws GLib.Error;
+ [CCode (cname = "oauth_proxy_request_token")]
+ public static unowned bool request_token (Rest.OAuthProxy proxy,
string function, string callback_uri) throws GLib.Error;
+ [CCode (cname = "oauth_proxy_access_token")]
+ public static unowned bool access_token (Rest.OAuthProxy proxy,
string function, string verifier) throws GLib.Error;
[CCode (cname = "oauth_proxy_get_token")]
public static unowned string get_token (Rest.OAuthProxy proxy);
[CCode (cname = "oauth_proxy_get_token_secret")]
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]