Lines Matching refs:con_info

71   struct connection_info_struct *con_info = coninfo_cls;  in iterate_post()  local
83 con_info->answerstring = answerstring; in iterate_post()
86 con_info->answerstring = NULL; in iterate_post()
98 struct connection_info_struct *con_info = *con_cls; in request_completed() local
100 if (NULL == con_info) in request_completed()
103 if (con_info->connectiontype == POST) in request_completed()
105 MHD_destroy_post_processor (con_info->postprocessor); in request_completed()
106 if (con_info->answerstring) in request_completed()
107 free (con_info->answerstring); in request_completed()
110 free (con_info); in request_completed()
123 struct connection_info_struct *con_info; in answer_to_connection() local
125 con_info = malloc (sizeof (struct connection_info_struct)); in answer_to_connection()
126 if (NULL == con_info) in answer_to_connection()
128 con_info->answerstring = NULL; in answer_to_connection()
132 con_info->postprocessor = in answer_to_connection()
134 iterate_post, (void *) con_info); in answer_to_connection()
136 if (NULL == con_info->postprocessor) in answer_to_connection()
138 free (con_info); in answer_to_connection()
142 con_info->connectiontype = POST; in answer_to_connection()
145 con_info->connectiontype = GET; in answer_to_connection()
147 *con_cls = (void *) con_info; in answer_to_connection()
159 struct connection_info_struct *con_info = *con_cls; in answer_to_connection() local
163 MHD_post_process (con_info->postprocessor, upload_data, in answer_to_connection()
169 else if (NULL != con_info->answerstring) in answer_to_connection()
170 return send_page (connection, con_info->answerstring); in answer_to_connection()