Changeset 5214 for pjproject/trunk/pjlib/include/pj/ssl_sock.h
- Timestamp:
- Dec 11, 2015 4:59:56 AM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjlib/include/pj/ssl_sock.h
r5087 r5214 865 865 866 866 /** 867 * Duplicate pj_ssl_sock_param. 868 * 869 * @param pool Pool to allocate memory. 870 * @param dst Destination parameter. 871 * @param src Source parameter. 872 */ 873 PJ_DECL(void) pj_ssl_sock_param_copy(pj_pool_t *pool, 874 pj_ssl_sock_param *dst, 875 const pj_ssl_sock_param *src); 876 877 878 /** 867 879 * Create secure socket instance. 868 880 * … … 1116 1128 1117 1129 /** 1130 * Same as #pj_ssl_sock_start_accept(), but application can provide 1131 * a secure socket parameter, which will be used to create a new secure 1132 * socket reported in \a on_accept_complete() callback when there is 1133 * an incoming connection. 1134 * 1135 * @param ssock The secure socket. 1136 * @param pool Pool used to allocate some internal data for the 1137 * operation. 1138 * @param localaddr Local address to bind on. 1139 * @param addr_len Length of buffer containing local address. 1140 * @param newsock_param Secure socket parameter for new accepted sockets. 1141 * 1142 * @return PJ_SUCCESS if the operation has been successful, 1143 * or the appropriate error code on failure. 1144 */ 1145 PJ_DECL(pj_status_t) 1146 pj_ssl_sock_start_accept2(pj_ssl_sock_t *ssock, 1147 pj_pool_t *pool, 1148 const pj_sockaddr_t *local_addr, 1149 int addr_len, 1150 const pj_ssl_sock_param *newsock_param); 1151 1152 1153 /** 1118 1154 * Starts asynchronous socket connect() operation and SSL/TLS handshaking 1119 1155 * for this socket. Once the connection is done (either successfully or not),
Note: See TracChangeset
for help on using the changeset viewer.