telepathy-glib: Version-annotate TLS certificate API
Guillaume Desmottes
gdesmott at kemper.freedesktop.org
Wed May 9 03:16:00 PDT 2012
Module: telepathy-glib
Branch: master
Commit: f4820fdb1715dbef62a839b63c9cd49ec3a285e1
URL: http://cgit.freedesktop.org/telepathy/telepathy-glib/commit/?id=f4820fdb1715dbef62a839b63c9cd49ec3a285e1
Author: Guillaume Desmottes <guillaume.desmottes at collabora.co.uk>
Date: Thu May 3 14:27:50 2012 +0200
Version-annotate TLS certificate API
---
telepathy-glib/tls-certificate-rejection.h | 7 +++++++
telepathy-glib/tls-certificate.h | 14 ++++++++++++++
2 files changed, 21 insertions(+), 0 deletions(-)
diff --git a/telepathy-glib/tls-certificate-rejection.h b/telepathy-glib/tls-certificate-rejection.h
index e5e4810..50f5199 100644
--- a/telepathy-glib/tls-certificate-rejection.h
+++ b/telepathy-glib/tls-certificate-rejection.h
@@ -24,6 +24,7 @@
#include <glib-object.h>
+#include <telepathy-glib/defs.h>
#include <telepathy-glib/enums.h>
G_BEGIN_DECLS
@@ -43,6 +44,7 @@ struct _TpTLSCertificateRejection {
TpTLSCertificateRejectionPriv *priv;
};
+_TP_AVAILABLE_IN_0_20
GType tp_tls_certificate_rejection_get_type (void);
/* TYPE MACROS */
@@ -67,15 +69,20 @@ GType tp_tls_certificate_rejection_get_type (void);
TP_TYPE_TLS_CERTIFICATE_REJECTION, \
TpTLSCertificateRejectionClass))
+_TP_AVAILABLE_IN_0_20
const GError * tp_tls_certificate_rejection_get_error (
TpTLSCertificateRejection *self);
+_TP_AVAILABLE_IN_0_20
TpTLSCertificateRejectReason tp_tls_certificate_rejection_get_reason (
TpTLSCertificateRejection *self);
+_TP_AVAILABLE_IN_0_20
const gchar * tp_tls_certificate_rejection_get_dbus_error (
TpTLSCertificateRejection *self);
+_TP_AVAILABLE_IN_0_20
GVariant * tp_tls_certificate_rejection_get_details (
TpTLSCertificateRejection *self);
+_TP_AVAILABLE_IN_0_20
gboolean tp_tls_certificate_rejection_raise_error (
TpTLSCertificateRejection *self,
GError **error);
diff --git a/telepathy-glib/tls-certificate.h b/telepathy-glib/tls-certificate.h
index a485796..72b1c01 100644
--- a/telepathy-glib/tls-certificate.h
+++ b/telepathy-glib/tls-certificate.h
@@ -51,6 +51,7 @@ struct _TpTLSCertificate {
TpTLSCertificatePrivate *priv;
};
+_TP_AVAILABLE_IN_0_20
GType tp_tls_certificate_get_type (void);
#define TP_TYPE_TLS_CERTIFICATE \
@@ -69,43 +70,56 @@ GType tp_tls_certificate_get_type (void);
(G_TYPE_INSTANCE_GET_CLASS ((obj), TP_TYPE_TLS_CERTIFICATE, \
TpTLSCertificateClass))
+_TP_AVAILABLE_IN_0_20
GQuark tp_tls_certificate_get_feature_quark_core (void);
#define TP_TLS_CERTIFICATE_FEATURE_CORE \
(tp_tls_certificate_get_feature_quark_core ())
+_TP_AVAILABLE_IN_0_20
TpTLSCertificate *tp_tls_certificate_new (TpProxy *conn_or_chan,
const gchar *object_path,
GError **error);
+_TP_AVAILABLE_IN_0_20
TpTLSCertificateRejection *tp_tls_certificate_get_rejection (
TpTLSCertificate *self);
+_TP_AVAILABLE_IN_0_20
TpTLSCertificateRejection *tp_tls_certificate_get_nth_rejection (
TpTLSCertificate *self,
guint n);
+_TP_AVAILABLE_IN_0_20
void tp_tls_certificate_accept_async (TpTLSCertificate *self,
GAsyncReadyCallback callback,
gpointer user_data);
+_TP_AVAILABLE_IN_0_20
gboolean tp_tls_certificate_accept_finish (TpTLSCertificate *self,
GAsyncResult *result,
GError **error);
+_TP_AVAILABLE_IN_0_20
void tp_tls_certificate_add_rejection (TpTLSCertificate *self,
TpTLSCertificateRejectReason reason,
const gchar *dbus_error,
GVariant *details);
+_TP_AVAILABLE_IN_0_20
void tp_tls_certificate_reject_async (TpTLSCertificate *self,
GAsyncReadyCallback callback,
gpointer user_data);
+_TP_AVAILABLE_IN_0_20
gboolean tp_tls_certificate_reject_finish (TpTLSCertificate *self,
GAsyncResult *result,
GError **error);
+_TP_AVAILABLE_IN_0_20
void tp_tls_certificate_init_known_interfaces (void);
+_TP_AVAILABLE_IN_0_20
const gchar * tp_tls_certificate_get_cert_type (TpTLSCertificate *self);
+_TP_AVAILABLE_IN_0_20
GPtrArray * tp_tls_certificate_get_cert_data (TpTLSCertificate *self);
+_TP_AVAILABLE_IN_0_20
TpTLSCertificateState tp_tls_certificate_get_state (TpTLSCertificate *self);
G_END_DECLS
More information about the telepathy-commits
mailing list