Lines Matching defs:connection

190 /** Close the connection: call finished callback and free the state */
341 /* directly return here: the connection migth already be aborted from the callback! */
505 /** Initialize the connection struct */
507 httpc_init_connection_common(httpc_state_t **connection, const httpc_connection_t *settings, const char* server_name,
586 *connection = req;
591 * Initialize the connection struct
594 httpc_init_connection(httpc_state_t **connection, const httpc_connection_t *settings, const char* server_name,
597 return httpc_init_connection_common(connection, settings, server_name, server_port, uri, recv_fn, callback_arg, 1);
602 * Initialize the connection struct (from IP address)
605 httpc_init_connection_addr(httpc_state_t **connection, const httpc_connection_t *settings,
613 return httpc_init_connection_common(connection, settings, server_addr_str, server_port, uri,
624 * @param settings connection settings (callbacks, proxy, etc.)
627 * @param connection retreives the connection handle (to match in callbacks)
633 altcp_recv_fn recv_fn, void* callback_arg, httpc_state_t **connection)
656 if (connection != NULL) {
657 *connection = req;
669 * @param settings connection settings (callbacks, proxy, etc.)
672 * @param connection retreives the connection handle (to match in callbacks)
678 altcp_recv_fn recv_fn, void* callback_arg, httpc_state_t **connection)
700 if (connection != NULL) {
701 *connection = req;
811 * @param settings connection settings (callbacks, proxy, etc.)
813 * @param connection retreives the connection handle (to match in callbacks)
819 void* callback_arg, const char* local_file_name, httpc_state_t **connection)
850 if (connection != NULL) {
851 *connection = req;
863 * @param settings connection settings (callbacks, proxy, etc.)
865 * @param connection retreives the connection handle (to match in callbacks)
871 void* callback_arg, const char* local_file_name, httpc_state_t **connection)
902 if (connection != NULL) {
903 *connection = req;