Lines Matching refs:con_info
83 struct connection_info_struct *con_info = coninfo_cls;
94 con_info->answerstring = answerstring;
96 else con_info->answerstring = NULL;
117 struct connection_info_struct *con_info = *con_cls;
119 if (NULL == con_info) return;
120 if (con_info->connectiontype == POST)
122 MHD_destroy_post_processor (con_info->postprocessor);
123 if (con_info->answerstring) free (con_info->answerstring);
126 free (con_info);
162 struct connection_info_struct *con_info;
164 con_info = malloc (sizeof (struct connection_info_struct));
165 if (NULL == con_info) return MHD_NO;
166 con_info->answerstring = NULL;
175 con_info->postprocessor
177 iterate_post, (void*) con_info);
179 if (NULL == con_info->postprocessor)
181 free (con_info);
184 con_info->connectiontype = POST;
186 else con_info->connectiontype = GET;
193 *con_cls = (void*) con_info;
215 struct connection_info_struct *con_info = *con_cls;
219 MHD_post_process (con_info->postprocessor, upload_data,
225 else if (NULL != con_info->answerstring)
226 return send_page (connection, con_info->answerstring);