Make mg_http_check_digest_auth() public

PUBLISHED_FROM=f00b94cabc2a89d27d5bc78d68d67db0930811b4
This commit is contained in:
Sergey Lyubka authored and rojer committed 2016-05-16 13:57:13 +03:00
1 parent 5d0a5cfe72
commit 4ac688e560
21 files changed
+25 -27032

No files matched your search

+7
View File
@@ -2715,6 +2715,13 @@ void mg_file_upload_handler(struct mg_connection *nc, int ev, void *ev_data,
mg_fu_fname_fn local_name_fn);
#endif /* MG_ENABLE_HTTP_STREAMING_MULTIPART */
/*
* Authenticate HTTP request against opened passwords file.
* Returns 1 if authenticated, 0 otherwise.
*/
int mg_http_check_digest_auth(struct http_message *hm, const char *auth_domain,
FILE *fp);
#ifdef __cplusplus
}
#endif /* __cplusplus */