libpurple/sslconn.h

branch
next.minor
changeset 21208
7748c9e02e8e
parent 20808
e3524e9d502c
parent 20940
925d3d68b3af
child 21211
5648167e2984
equal deleted inserted replaced
21147:39cb3ff90dcc 21208:7748c9e02e8e
204 PurpleSslErrorFunction error_func, 204 PurpleSslErrorFunction error_func,
205 void *data); 205 void *data);
206 #endif 206 #endif
207 207
208 /** 208 /**
209 * Makes a SSL connection using an already open file descriptor. 209 * Makes a SSL connection using an already open file descriptor.
210 * 210 *
211 * @param account The account making the connection. 211 * @param account The account making the connection.
212 * @param fd The file descriptor. 212 * @param fd The file descriptor.
213 * @param func The SSL input handler function. 213 * @param func The SSL input handler function.
214 * @param error_func The SSL error handler function. 214 * @param error_func The SSL error handler function.
215 * @param host The hostname of the other peer (to verify the CN) 215 * @param host The hostname of the other peer (to verify the CN)
216 * @param data User-defined data. 216 * @param data User-defined data.
217 * 217 *
218 * @return The SSL connection handle. 218 * @return The SSL connection handle.
219 */ 219 *
220 * @since 2.2.0
221 */
220 PurpleSslConnection *purple_ssl_connect_with_host_fd(PurpleAccount *account, int fd, 222 PurpleSslConnection *purple_ssl_connect_with_host_fd(PurpleAccount *account, int fd,
221 PurpleSslInputFunction func, 223 PurpleSslInputFunction func,
222 PurpleSslErrorFunction error_func, 224 PurpleSslErrorFunction error_func,
223 const char *host, 225 const char *host,
224 void *data); 226 void *data);
268 * 270 *
269 * @param gsc The SSL connection handle 271 * @param gsc The SSL connection handle
270 * 272 *
271 * @return The peer certificate chain, in the order of certificate, issuer, 273 * @return The peer certificate chain, in the order of certificate, issuer,
272 * issuer's issuer, etc. @a NULL if no certificates have been provided, 274 * issuer's issuer, etc. @a NULL if no certificates have been provided,
275 *
276 * @since 2.2.0
273 */ 277 */
274 GList * purple_ssl_get_peer_certificates(PurpleSslConnection *gsc); 278 GList * purple_ssl_get_peer_certificates(PurpleSslConnection *gsc);
275 279
276 /*@}*/ 280 /*@}*/
277 281

mercurial