Searched refs:con_info (Results 1 – 5 of 5) sorted by relevance
82 struct connection_info_struct *con_info = coninfo_cls; in iterate_post() local85 con_info->answerstring = servererrorpage; in iterate_post()86 con_info->answercode = MHD_HTTP_INTERNAL_SERVER_ERROR; in iterate_post()91 if (!con_info->fp) in iterate_post()96 con_info->answerstring = fileexistspage; in iterate_post()97 con_info->answercode = MHD_HTTP_FORBIDDEN; in iterate_post()101 con_info->fp = fopen (filename, "ab"); in iterate_post()102 if (!con_info->fp) in iterate_post()108 if (!fwrite (data, size, sizeof (char), con_info->fp)) in iterate_post()112 con_info->answerstring = completepage; in iterate_post()[all …]
71 struct connection_info_struct *con_info = coninfo_cls; in iterate_post() local83 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() local100 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()[all …]
102 struct connection_info_struct *con_info;113 con_info = malloc (sizeof (struct connection_info_struct));114 if (NULL == con_info) return MHD_NO;115 con_info->fp = 0;121 else con_info->connectiontype = GET;123 *con_cls = (void*) con_info;139 con_info->postprocessor 141 iterate_post, (void*) con_info); 143 if (NULL == con_info->postprocessor) 145 free (con_info); [all …]
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;[all …]
904 struct connection_info_struct *con_info = coninfo_cls;915 con_info->answerstring = answerstring;917 else con_info->answerstring = NULL;935 struct connection_info_struct *con_info = *con_cls;937 if (NULL == con_info) return;938 if (con_info->connectiontype == POST)940 MHD_destroy_post_processor (con_info->postprocessor);941 if (con_info->answerstring) free (con_info->answerstring);944 free (con_info);977 struct connection_info_struct *con_info;[all …]