1 /* rest-extras-0.6.vapi generated by vapigen, do not modify. */
4 [CCode (cheader_filename = "rest-extras/facebook-proxy.h", cname = "FacebookProxy")]
5 public class FacebookProxy : Rest.Proxy {
6 [CCode (cname = "facebook_proxy_new", has_construct_function = false, type = "RestProxy*")]
7 public FacebookProxy (string api_key, string app_secret);
8 [CCode (cname = "facebook_proxy_build_login_url")]
9 public unowned string build_login_url (string frob);
10 [CCode (cname = "facebook_proxy_build_permission_url")]
11 public unowned string build_permission_url (string perms);
12 [CCode (cname = "facebook_proxy_get_api_key")]
13 public unowned string get_api_key ();
14 [CCode (cname = "facebook_proxy_get_app_secret")]
15 public unowned string get_app_secret ();
16 [CCode (cname = "facebook_proxy_get_session_key")]
17 public unowned string get_session_key ();
18 [CCode (cname = "facebook_proxy_set_app_secret")]
19 public void set_app_secret (string secret);
20 [CCode (cname = "facebook_proxy_set_session_key")]
21 public void set_session_key (string session_key);
22 [CCode (cname = "facebook_proxy_sign")]
23 public unowned string sign (GLib.HashTable @params);
24 [CCode (cname = "facebook_proxy_new_with_session", has_construct_function = false, type = "RestProxy*")]
25 public FacebookProxy.with_session (string api_key, string app_secret, string session_key);
27 [CCode (cheader_filename = "rest-extras/facebook-proxy-call.h", cname = "FacebookProxyCall")]
28 public class FacebookProxyCall : Rest.ProxyCall {
30 [CCode (cheader_filename = "rest-extras/flickr-proxy.h", cname = "FlickrProxy")]
31 public class FlickrProxy : Rest.Proxy {
32 [CCode (cname = "flickr_proxy_new", has_construct_function = false, type = "RestProxy*")]
33 public FlickrProxy (string api_key, string shared_secret);
34 [CCode (cname = "flickr_proxy_build_login_url")]
35 public unowned string build_login_url (string frob);
36 [CCode (cname = "flickr_proxy_get_api_key")]
37 public unowned string get_api_key ();
38 [CCode (cname = "flickr_proxy_get_shared_secret")]
39 public unowned string get_shared_secret ();
40 [CCode (cname = "flickr_proxy_get_token")]
41 public unowned string get_token ();
42 [CCode (cname = "flickr_proxy_is_successful")]
43 public static bool is_successful (Rest.XmlNode root) throws GLib.Error;
44 [CCode (cname = "flickr_proxy_set_token")]
45 public void set_token (string token);
46 [CCode (cname = "flickr_proxy_sign")]
47 public unowned string sign (GLib.HashTable @params);
48 [CCode (cname = "flickr_proxy_new_with_token", has_construct_function = false, type = "RestProxy*")]
49 public FlickrProxy.with_token (string api_key, string shared_secret, string token);
51 [CCode (cheader_filename = "rest-extras/flickr-proxy-call.h", cname = "FlickrProxyCall")]
52 public class FlickrProxyCall : Rest.ProxyCall {