Home
last modified time | relevance | path

Searched refs:con_info (Results 1 – 5 of 5) sorted by relevance

/external/libmicrohttpd/doc/examples/
Dlargepost.c82 struct connection_info_struct *con_info = coninfo_cls; in iterate_post() local
85 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 …]
Dsimplepost.c71 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()
[all …]
/external/libmicrohttpd/doc/chapters/
Dlargerpost.inc102 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 …]
Dprocessingpost.inc83 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 …]
/external/libmicrohttpd/doc/
Dlibmicrohttpd-tutorial.info904 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 …]