libpurple/tls-certificate.h

Fri, 30 Jun 2017 13:13:13 -0500

author
Mike Ruprecht <cmaiku@gmail.com>
date
Fri, 30 Jun 2017 13:13:13 -0500
changeset 38547
1772a0f0f77c
parent 38026
ea9d401c7037
permissions
-rw-r--r--

tls-certificate: Fix docstring function references

Several function references in the documentation of PurpleTlsCertificate
were using the wrong function names or just the wrong function. This
patch fixes those references.

37620
5467197bd084 Implement new, simplified TLS certificate API in libpurple
Mike Ruprecht <cmaiku@gmail.com>
parents:
diff changeset
1 /*
5467197bd084 Implement new, simplified TLS certificate API in libpurple
Mike Ruprecht <cmaiku@gmail.com>
parents:
diff changeset
2 *
5467197bd084 Implement new, simplified TLS certificate API in libpurple
Mike Ruprecht <cmaiku@gmail.com>
parents:
diff changeset
3 * purple
5467197bd084 Implement new, simplified TLS certificate API in libpurple
Mike Ruprecht <cmaiku@gmail.com>
parents:
diff changeset
4 *
5467197bd084 Implement new, simplified TLS certificate API in libpurple
Mike Ruprecht <cmaiku@gmail.com>
parents:
diff changeset
5 * Purple is the legal property of its developers, whose names are too numerous
5467197bd084 Implement new, simplified TLS certificate API in libpurple
Mike Ruprecht <cmaiku@gmail.com>
parents:
diff changeset
6 * to list here. Please refer to the COPYRIGHT file distributed with this
5467197bd084 Implement new, simplified TLS certificate API in libpurple
Mike Ruprecht <cmaiku@gmail.com>
parents:
diff changeset
7 * source distribution.
5467197bd084 Implement new, simplified TLS certificate API in libpurple
Mike Ruprecht <cmaiku@gmail.com>
parents:
diff changeset
8 *
5467197bd084 Implement new, simplified TLS certificate API in libpurple
Mike Ruprecht <cmaiku@gmail.com>
parents:
diff changeset
9 * This program is free software; you can redistribute it and/or modify
5467197bd084 Implement new, simplified TLS certificate API in libpurple
Mike Ruprecht <cmaiku@gmail.com>
parents:
diff changeset
10 * it under the terms of the GNU General Public License as published by
5467197bd084 Implement new, simplified TLS certificate API in libpurple
Mike Ruprecht <cmaiku@gmail.com>
parents:
diff changeset
11 * the Free Software Foundation; either version 2 of the License, or
5467197bd084 Implement new, simplified TLS certificate API in libpurple
Mike Ruprecht <cmaiku@gmail.com>
parents:
diff changeset
12 * (at your option) any later version.
5467197bd084 Implement new, simplified TLS certificate API in libpurple
Mike Ruprecht <cmaiku@gmail.com>
parents:
diff changeset
13 *
5467197bd084 Implement new, simplified TLS certificate API in libpurple
Mike Ruprecht <cmaiku@gmail.com>
parents:
diff changeset
14 * This program is distributed in the hope that it will be useful,
5467197bd084 Implement new, simplified TLS certificate API in libpurple
Mike Ruprecht <cmaiku@gmail.com>
parents:
diff changeset
15 * but WITHOUT ANY WARRANTY; without even the implied warranty of
5467197bd084 Implement new, simplified TLS certificate API in libpurple
Mike Ruprecht <cmaiku@gmail.com>
parents:
diff changeset
16 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
5467197bd084 Implement new, simplified TLS certificate API in libpurple
Mike Ruprecht <cmaiku@gmail.com>
parents:
diff changeset
17 * GNU General Public License for more details.
5467197bd084 Implement new, simplified TLS certificate API in libpurple
Mike Ruprecht <cmaiku@gmail.com>
parents:
diff changeset
18 *
5467197bd084 Implement new, simplified TLS certificate API in libpurple
Mike Ruprecht <cmaiku@gmail.com>
parents:
diff changeset
19 * You should have received a copy of the GNU General Public License
5467197bd084 Implement new, simplified TLS certificate API in libpurple
Mike Ruprecht <cmaiku@gmail.com>
parents:
diff changeset
20 * along with this program; if not, write to the Free Software
5467197bd084 Implement new, simplified TLS certificate API in libpurple
Mike Ruprecht <cmaiku@gmail.com>
parents:
diff changeset
21 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111-1301 USA
5467197bd084 Implement new, simplified TLS certificate API in libpurple
Mike Ruprecht <cmaiku@gmail.com>
parents:
diff changeset
22 */
5467197bd084 Implement new, simplified TLS certificate API in libpurple
Mike Ruprecht <cmaiku@gmail.com>
parents:
diff changeset
23
5467197bd084 Implement new, simplified TLS certificate API in libpurple
Mike Ruprecht <cmaiku@gmail.com>
parents:
diff changeset
24 #ifndef _PURPLE_TLS_CERTIFICATE_H
5467197bd084 Implement new, simplified TLS certificate API in libpurple
Mike Ruprecht <cmaiku@gmail.com>
parents:
diff changeset
25 #define _PURPLE_TLS_CERTIFICATE_H
5467197bd084 Implement new, simplified TLS certificate API in libpurple
Mike Ruprecht <cmaiku@gmail.com>
parents:
diff changeset
26 /**
5467197bd084 Implement new, simplified TLS certificate API in libpurple
Mike Ruprecht <cmaiku@gmail.com>
parents:
diff changeset
27 * SECTION:tls-certificate
5467197bd084 Implement new, simplified TLS certificate API in libpurple
Mike Ruprecht <cmaiku@gmail.com>
parents:
diff changeset
28 * @section_id: libpurple-tls-certificate
37633
323b1884d008 Improve TLS Certificate API documentation and add transfer annotations
Mike Ruprecht <cmaiku@gmail.com>
parents: 37632
diff changeset
29 * @short_description: TLS certificate trust and storage API
37620
5467197bd084 Implement new, simplified TLS certificate API in libpurple
Mike Ruprecht <cmaiku@gmail.com>
parents:
diff changeset
30 * @title: TLS Certificate API
37633
323b1884d008 Improve TLS Certificate API documentation and add transfer annotations
Mike Ruprecht <cmaiku@gmail.com>
parents: 37632
diff changeset
31 *
323b1884d008 Improve TLS Certificate API documentation and add transfer annotations
Mike Ruprecht <cmaiku@gmail.com>
parents: 37632
diff changeset
32 * The TLS Certificate API provides functions for trusting and storing
323b1884d008 Improve TLS Certificate API documentation and add transfer annotations
Mike Ruprecht <cmaiku@gmail.com>
parents: 37632
diff changeset
33 * certificates for use with TLS/SSL connections. This allows certificates,
323b1884d008 Improve TLS Certificate API documentation and add transfer annotations
Mike Ruprecht <cmaiku@gmail.com>
parents: 37632
diff changeset
34 * which aren't considered valid by the TLS implementation, to be manually
323b1884d008 Improve TLS Certificate API documentation and add transfer annotations
Mike Ruprecht <cmaiku@gmail.com>
parents: 37632
diff changeset
35 * trusted by the user, distrusted at a later time, and queried by the UI.
323b1884d008 Improve TLS Certificate API documentation and add transfer annotations
Mike Ruprecht <cmaiku@gmail.com>
parents: 37632
diff changeset
36 * It also provides functions to simply wire this system into Gio.
37620
5467197bd084 Implement new, simplified TLS certificate API in libpurple
Mike Ruprecht <cmaiku@gmail.com>
parents:
diff changeset
37 */
5467197bd084 Implement new, simplified TLS certificate API in libpurple
Mike Ruprecht <cmaiku@gmail.com>
parents:
diff changeset
38
5467197bd084 Implement new, simplified TLS certificate API in libpurple
Mike Ruprecht <cmaiku@gmail.com>
parents:
diff changeset
39 #include <gio/gio.h>
5467197bd084 Implement new, simplified TLS certificate API in libpurple
Mike Ruprecht <cmaiku@gmail.com>
parents:
diff changeset
40
5467197bd084 Implement new, simplified TLS certificate API in libpurple
Mike Ruprecht <cmaiku@gmail.com>
parents:
diff changeset
41 /**
5467197bd084 Implement new, simplified TLS certificate API in libpurple
Mike Ruprecht <cmaiku@gmail.com>
parents:
diff changeset
42 * purple_tls_certificate_list_ids:
5467197bd084 Implement new, simplified TLS certificate API in libpurple
Mike Ruprecht <cmaiku@gmail.com>
parents:
diff changeset
43 *
5467197bd084 Implement new, simplified TLS certificate API in libpurple
Mike Ruprecht <cmaiku@gmail.com>
parents:
diff changeset
44 * Returns a list of the IDs for certificates trusted with
5467197bd084 Implement new, simplified TLS certificate API in libpurple
Mike Ruprecht <cmaiku@gmail.com>
parents:
diff changeset
45 * purple_tls_certificate_trust() and friends. These IDs can then be passed
38547
1772a0f0f77c tls-certificate: Fix docstring function references
Mike Ruprecht <cmaiku@gmail.com>
parents: 38026
diff changeset
46 * to purple_tls_certificate_new_from_id() or used directly, if desired.
37620
5467197bd084 Implement new, simplified TLS certificate API in libpurple
Mike Ruprecht <cmaiku@gmail.com>
parents:
diff changeset
47 *
37972
a728c6b23e00 tls-certificate: Fix GI annotations
Mike Ruprecht <cmaiku@gmail.com>
parents: 37633
diff changeset
48 * Returns: (transfer full) (element-type utf8): #GList of IDs described above
38547
1772a0f0f77c tls-certificate: Fix docstring function references
Mike Ruprecht <cmaiku@gmail.com>
parents: 38026
diff changeset
49 * Free with purple_tls_certificate_free_ids()
37620
5467197bd084 Implement new, simplified TLS certificate API in libpurple
Mike Ruprecht <cmaiku@gmail.com>
parents:
diff changeset
50 */
5467197bd084 Implement new, simplified TLS certificate API in libpurple
Mike Ruprecht <cmaiku@gmail.com>
parents:
diff changeset
51 GList *
5467197bd084 Implement new, simplified TLS certificate API in libpurple
Mike Ruprecht <cmaiku@gmail.com>
parents:
diff changeset
52 purple_tls_certificate_list_ids(void);
5467197bd084 Implement new, simplified TLS certificate API in libpurple
Mike Ruprecht <cmaiku@gmail.com>
parents:
diff changeset
53
5467197bd084 Implement new, simplified TLS certificate API in libpurple
Mike Ruprecht <cmaiku@gmail.com>
parents:
diff changeset
54 /**
5467197bd084 Implement new, simplified TLS certificate API in libpurple
Mike Ruprecht <cmaiku@gmail.com>
parents:
diff changeset
55 * purple_tls_certificate_free_ids:
37972
a728c6b23e00 tls-certificate: Fix GI annotations
Mike Ruprecht <cmaiku@gmail.com>
parents: 37633
diff changeset
56 * @ids: (transfer full) (element-type utf8): List of ids retrieved from
38547
1772a0f0f77c tls-certificate: Fix docstring function references
Mike Ruprecht <cmaiku@gmail.com>
parents: 38026
diff changeset
57 * purple_tls_certificate_list_ids()
37620
5467197bd084 Implement new, simplified TLS certificate API in libpurple
Mike Ruprecht <cmaiku@gmail.com>
parents:
diff changeset
58 *
38547
1772a0f0f77c tls-certificate: Fix docstring function references
Mike Ruprecht <cmaiku@gmail.com>
parents: 38026
diff changeset
59 * Frees the list of IDs returned from purple_tls_certificate_list_ids().
37620
5467197bd084 Implement new, simplified TLS certificate API in libpurple
Mike Ruprecht <cmaiku@gmail.com>
parents:
diff changeset
60 */
5467197bd084 Implement new, simplified TLS certificate API in libpurple
Mike Ruprecht <cmaiku@gmail.com>
parents:
diff changeset
61 void
5467197bd084 Implement new, simplified TLS certificate API in libpurple
Mike Ruprecht <cmaiku@gmail.com>
parents:
diff changeset
62 purple_tls_certificate_free_ids(GList *ids);
5467197bd084 Implement new, simplified TLS certificate API in libpurple
Mike Ruprecht <cmaiku@gmail.com>
parents:
diff changeset
63
5467197bd084 Implement new, simplified TLS certificate API in libpurple
Mike Ruprecht <cmaiku@gmail.com>
parents:
diff changeset
64 /**
5467197bd084 Implement new, simplified TLS certificate API in libpurple
Mike Ruprecht <cmaiku@gmail.com>
parents:
diff changeset
65 * purple_tls_certificate_new_from_id:
5467197bd084 Implement new, simplified TLS certificate API in libpurple
Mike Ruprecht <cmaiku@gmail.com>
parents:
diff changeset
66 * @id: ID of certificate to load
5467197bd084 Implement new, simplified TLS certificate API in libpurple
Mike Ruprecht <cmaiku@gmail.com>
parents:
diff changeset
67 * @error: A GError location to store the error occurring, or NULL to ignore
5467197bd084 Implement new, simplified TLS certificate API in libpurple
Mike Ruprecht <cmaiku@gmail.com>
parents:
diff changeset
68 *
5467197bd084 Implement new, simplified TLS certificate API in libpurple
Mike Ruprecht <cmaiku@gmail.com>
parents:
diff changeset
69 * Loads the certificate referenced by ID into a #GTlsCertificate object.
37972
a728c6b23e00 tls-certificate: Fix GI annotations
Mike Ruprecht <cmaiku@gmail.com>
parents: 37633
diff changeset
70 *
a728c6b23e00 tls-certificate: Fix GI annotations
Mike Ruprecht <cmaiku@gmail.com>
parents: 37633
diff changeset
71 * Returns: (transfer full): #GTlsCertificate loaded from ID
37620
5467197bd084 Implement new, simplified TLS certificate API in libpurple
Mike Ruprecht <cmaiku@gmail.com>
parents:
diff changeset
72 */
5467197bd084 Implement new, simplified TLS certificate API in libpurple
Mike Ruprecht <cmaiku@gmail.com>
parents:
diff changeset
73 GTlsCertificate *
5467197bd084 Implement new, simplified TLS certificate API in libpurple
Mike Ruprecht <cmaiku@gmail.com>
parents:
diff changeset
74 purple_tls_certificate_new_from_id(const gchar *id, GError **error);
5467197bd084 Implement new, simplified TLS certificate API in libpurple
Mike Ruprecht <cmaiku@gmail.com>
parents:
diff changeset
75
5467197bd084 Implement new, simplified TLS certificate API in libpurple
Mike Ruprecht <cmaiku@gmail.com>
parents:
diff changeset
76 /**
5467197bd084 Implement new, simplified TLS certificate API in libpurple
Mike Ruprecht <cmaiku@gmail.com>
parents:
diff changeset
77 * purple_tls_certificate_trust:
5467197bd084 Implement new, simplified TLS certificate API in libpurple
Mike Ruprecht <cmaiku@gmail.com>
parents:
diff changeset
78 * @id: ID to associate with the certificate
5467197bd084 Implement new, simplified TLS certificate API in libpurple
Mike Ruprecht <cmaiku@gmail.com>
parents:
diff changeset
79 * @certificate: Certificate to trust for TLS operations
5467197bd084 Implement new, simplified TLS certificate API in libpurple
Mike Ruprecht <cmaiku@gmail.com>
parents:
diff changeset
80 * @error: A GError location to store the error occurring, or NULL to ignore
5467197bd084 Implement new, simplified TLS certificate API in libpurple
Mike Ruprecht <cmaiku@gmail.com>
parents:
diff changeset
81 *
5467197bd084 Implement new, simplified TLS certificate API in libpurple
Mike Ruprecht <cmaiku@gmail.com>
parents:
diff changeset
82 * Trusts the certificate to be allowed for TLS operations even if
5467197bd084 Implement new, simplified TLS certificate API in libpurple
Mike Ruprecht <cmaiku@gmail.com>
parents:
diff changeset
83 * it would otherwise fail.
5467197bd084 Implement new, simplified TLS certificate API in libpurple
Mike Ruprecht <cmaiku@gmail.com>
parents:
diff changeset
84 *
5467197bd084 Implement new, simplified TLS certificate API in libpurple
Mike Ruprecht <cmaiku@gmail.com>
parents:
diff changeset
85 * Returns: #TRUE on success, #FALSE otherwise
5467197bd084 Implement new, simplified TLS certificate API in libpurple
Mike Ruprecht <cmaiku@gmail.com>
parents:
diff changeset
86 */
5467197bd084 Implement new, simplified TLS certificate API in libpurple
Mike Ruprecht <cmaiku@gmail.com>
parents:
diff changeset
87 gboolean
5467197bd084 Implement new, simplified TLS certificate API in libpurple
Mike Ruprecht <cmaiku@gmail.com>
parents:
diff changeset
88 purple_tls_certificate_trust(const gchar *id, GTlsCertificate *certificate,
5467197bd084 Implement new, simplified TLS certificate API in libpurple
Mike Ruprecht <cmaiku@gmail.com>
parents:
diff changeset
89 GError **error);
5467197bd084 Implement new, simplified TLS certificate API in libpurple
Mike Ruprecht <cmaiku@gmail.com>
parents:
diff changeset
90
5467197bd084 Implement new, simplified TLS certificate API in libpurple
Mike Ruprecht <cmaiku@gmail.com>
parents:
diff changeset
91 /**
5467197bd084 Implement new, simplified TLS certificate API in libpurple
Mike Ruprecht <cmaiku@gmail.com>
parents:
diff changeset
92 * purple_tls_certificate_distrust:
5467197bd084 Implement new, simplified TLS certificate API in libpurple
Mike Ruprecht <cmaiku@gmail.com>
parents:
diff changeset
93 * @id: ID associated with the certificate to distrust
5467197bd084 Implement new, simplified TLS certificate API in libpurple
Mike Ruprecht <cmaiku@gmail.com>
parents:
diff changeset
94 * @error: A GError location to store the error occurring, or NULL to ignore
5467197bd084 Implement new, simplified TLS certificate API in libpurple
Mike Ruprecht <cmaiku@gmail.com>
parents:
diff changeset
95 *
5467197bd084 Implement new, simplified TLS certificate API in libpurple
Mike Ruprecht <cmaiku@gmail.com>
parents:
diff changeset
96 * Revokes full trust of certificate. The certificate will be accepted
5467197bd084 Implement new, simplified TLS certificate API in libpurple
Mike Ruprecht <cmaiku@gmail.com>
parents:
diff changeset
97 * in TLS operations only if it passes normal validation.
5467197bd084 Implement new, simplified TLS certificate API in libpurple
Mike Ruprecht <cmaiku@gmail.com>
parents:
diff changeset
98 *
5467197bd084 Implement new, simplified TLS certificate API in libpurple
Mike Ruprecht <cmaiku@gmail.com>
parents:
diff changeset
99 * Returns: #TRUE on success, #FALSE otherwise
5467197bd084 Implement new, simplified TLS certificate API in libpurple
Mike Ruprecht <cmaiku@gmail.com>
parents:
diff changeset
100 */
5467197bd084 Implement new, simplified TLS certificate API in libpurple
Mike Ruprecht <cmaiku@gmail.com>
parents:
diff changeset
101 gboolean
5467197bd084 Implement new, simplified TLS certificate API in libpurple
Mike Ruprecht <cmaiku@gmail.com>
parents:
diff changeset
102 purple_tls_certificate_distrust(const gchar *id, GError **error);
5467197bd084 Implement new, simplified TLS certificate API in libpurple
Mike Ruprecht <cmaiku@gmail.com>
parents:
diff changeset
103
37621
2a2f1068e0f0 Add helper API for using Purple TLS subsystem with GTlsConnections
Mike Ruprecht <cmaiku@gmail.com>
parents: 37620
diff changeset
104
2a2f1068e0f0 Add helper API for using Purple TLS subsystem with GTlsConnections
Mike Ruprecht <cmaiku@gmail.com>
parents: 37620
diff changeset
105 /**
2a2f1068e0f0 Add helper API for using Purple TLS subsystem with GTlsConnections
Mike Ruprecht <cmaiku@gmail.com>
parents: 37620
diff changeset
106 * purple_tls_certificate_attach_to_tls_connection:
2a2f1068e0f0 Add helper API for using Purple TLS subsystem with GTlsConnections
Mike Ruprecht <cmaiku@gmail.com>
parents: 37620
diff changeset
107 * @conn: #GTlsConnection to connect to
2a2f1068e0f0 Add helper API for using Purple TLS subsystem with GTlsConnections
Mike Ruprecht <cmaiku@gmail.com>
parents: 37620
diff changeset
108 *
2a2f1068e0f0 Add helper API for using Purple TLS subsystem with GTlsConnections
Mike Ruprecht <cmaiku@gmail.com>
parents: 37620
diff changeset
109 * Connects the Purple TLS certificate subsystem to @conn so it will accept
2a2f1068e0f0 Add helper API for using Purple TLS subsystem with GTlsConnections
Mike Ruprecht <cmaiku@gmail.com>
parents: 37620
diff changeset
110 * certificates trusted by purple_tls_certificate_trust() and friends.
2a2f1068e0f0 Add helper API for using Purple TLS subsystem with GTlsConnections
Mike Ruprecht <cmaiku@gmail.com>
parents: 37620
diff changeset
111 *
38016
3ac0882cd563 A few random cleanups and don't even try to document class structs
Gary Kramlich <grim@reaperworld.com>
parents: 37633
diff changeset
112 * Returns: (transfer none) (type GObject.Object): @conn, similar to
37633
323b1884d008 Improve TLS Certificate API documentation and add transfer annotations
Mike Ruprecht <cmaiku@gmail.com>
parents: 37632
diff changeset
113 * g_object_connect()
37621
2a2f1068e0f0 Add helper API for using Purple TLS subsystem with GTlsConnections
Mike Ruprecht <cmaiku@gmail.com>
parents: 37620
diff changeset
114 */
2a2f1068e0f0 Add helper API for using Purple TLS subsystem with GTlsConnections
Mike Ruprecht <cmaiku@gmail.com>
parents: 37620
diff changeset
115 gpointer
2a2f1068e0f0 Add helper API for using Purple TLS subsystem with GTlsConnections
Mike Ruprecht <cmaiku@gmail.com>
parents: 37620
diff changeset
116 purple_tls_certificate_attach_to_tls_connection(GTlsConnection *conn);
2a2f1068e0f0 Add helper API for using Purple TLS subsystem with GTlsConnections
Mike Ruprecht <cmaiku@gmail.com>
parents: 37620
diff changeset
117
2a2f1068e0f0 Add helper API for using Purple TLS subsystem with GTlsConnections
Mike Ruprecht <cmaiku@gmail.com>
parents: 37620
diff changeset
118 /**
2a2f1068e0f0 Add helper API for using Purple TLS subsystem with GTlsConnections
Mike Ruprecht <cmaiku@gmail.com>
parents: 37620
diff changeset
119 * purple_tls_certificate_attach_to_socket_client:
2a2f1068e0f0 Add helper API for using Purple TLS subsystem with GTlsConnections
Mike Ruprecht <cmaiku@gmail.com>
parents: 37620
diff changeset
120 * @client: #GSocketClient to connect to
2a2f1068e0f0 Add helper API for using Purple TLS subsystem with GTlsConnections
Mike Ruprecht <cmaiku@gmail.com>
parents: 37620
diff changeset
121 *
2a2f1068e0f0 Add helper API for using Purple TLS subsystem with GTlsConnections
Mike Ruprecht <cmaiku@gmail.com>
parents: 37620
diff changeset
122 * Connects the Purple TLS certificate subsystem to @client so any TLS
2a2f1068e0f0 Add helper API for using Purple TLS subsystem with GTlsConnections
Mike Ruprecht <cmaiku@gmail.com>
parents: 37620
diff changeset
123 * connections it creates will accept certificates trusted by
2a2f1068e0f0 Add helper API for using Purple TLS subsystem with GTlsConnections
Mike Ruprecht <cmaiku@gmail.com>
parents: 37620
diff changeset
124 * purple_tls_certificate_trust() and friends.
2a2f1068e0f0 Add helper API for using Purple TLS subsystem with GTlsConnections
Mike Ruprecht <cmaiku@gmail.com>
parents: 37620
diff changeset
125 *
38016
3ac0882cd563 A few random cleanups and don't even try to document class structs
Gary Kramlich <grim@reaperworld.com>
parents: 37633
diff changeset
126 * Returns: (transfer none) (type GObject.Object): @client, similar to
37633
323b1884d008 Improve TLS Certificate API documentation and add transfer annotations
Mike Ruprecht <cmaiku@gmail.com>
parents: 37632
diff changeset
127 * g_object_connect()
37621
2a2f1068e0f0 Add helper API for using Purple TLS subsystem with GTlsConnections
Mike Ruprecht <cmaiku@gmail.com>
parents: 37620
diff changeset
128 */
2a2f1068e0f0 Add helper API for using Purple TLS subsystem with GTlsConnections
Mike Ruprecht <cmaiku@gmail.com>
parents: 37620
diff changeset
129 gpointer
2a2f1068e0f0 Add helper API for using Purple TLS subsystem with GTlsConnections
Mike Ruprecht <cmaiku@gmail.com>
parents: 37620
diff changeset
130 purple_tls_certificate_attach_to_socket_client(GSocketClient *client);
2a2f1068e0f0 Add helper API for using Purple TLS subsystem with GTlsConnections
Mike Ruprecht <cmaiku@gmail.com>
parents: 37620
diff changeset
131
37620
5467197bd084 Implement new, simplified TLS certificate API in libpurple
Mike Ruprecht <cmaiku@gmail.com>
parents:
diff changeset
132 G_END_DECLS
5467197bd084 Implement new, simplified TLS certificate API in libpurple
Mike Ruprecht <cmaiku@gmail.com>
parents:
diff changeset
133
5467197bd084 Implement new, simplified TLS certificate API in libpurple
Mike Ruprecht <cmaiku@gmail.com>
parents:
diff changeset
134 #endif /* _PURPLE_TLS_CERTIFICATE_H */

mercurial