* limitations under the License.
*/
-struct AFB_session;
+#pragma once
+
struct AFB_clientCtx;
struct json_object;
+struct hreq_data;
+struct afb_hsrv;
struct afb_hreq {
+ struct afb_hsrv *hsrv;
const char *cacheTimeout;
struct MHD_Connection *connection;
int method;
+ int reqid;
+ int scanned;
+ int suspended;
+ int replied;
const char *version;
const char *url;
size_t lenurl;
extern void afb_hreq_reply_empty(struct afb_hreq *hreq, unsigned status, ...);
+extern int afb_hreq_init_download_path(const char *directory);