summaryrefslogtreecommitdiff
path: root/rest/rest-proxy-call.h
diff options
context:
space:
mode:
authorRoss Burton <ross@linux.intel.com>2008-09-19 09:15:59 +0100
committerRoss Burton <ross@linux.intel.com>2008-09-19 09:15:59 +0100
commitb2a7472bc00d1c147de24f3a27ff2e449aa509fd (patch)
tree04639f5e0e853758b06b48c783f8f182b1786b45 /rest/rest-proxy-call.h
parent2d0e099172437b6d1eef6f68cda2517d396e6588 (diff)
downloadlibrest-b2a7472bc00d1c147de24f3a27ff2e449aa509fd.tar.gz
Document RestProxyCall and RestProxyCallClass
Diffstat (limited to 'rest/rest-proxy-call.h')
-rw-r--r--rest/rest-proxy-call.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/rest/rest-proxy-call.h b/rest/rest-proxy-call.h
index bc01ca6..8725b67 100644
--- a/rest/rest-proxy-call.h
+++ b/rest/rest-proxy-call.h
@@ -22,12 +22,26 @@ G_BEGIN_DECLS
#define REST_PROXY_CALL_GET_CLASS(obj) \
(G_TYPE_INSTANCE_GET_CLASS ((obj), REST_TYPE_PROXY_CALL, RestProxyCallClass))
+/**
+ * RestProxyCall:
+ *
+ * #RestProxyCall has no publicly available members.
+ */
typedef struct {
GObject parent;
} RestProxyCall;
+/**
+ * RestProxyCallClass:
+ * @prepare: Virtual function called before making the request, This allows the
+ * call to be modified, for example to add a signature.
+ *
+ * Class structure for #RestProxy.
+ */
typedef struct {
+ /*< private >*/
GObjectClass parent_class;
+ /*< public >*/
gboolean (*prepare)(RestProxyCall *call, GError **error);
} RestProxyCallClass;