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