mirror of
https://github.com/cesanta/mongoose.git
synced 2025-01-14 09:48:01 +08:00
Added enum for callback return codes
This commit is contained in:
parent
ad89868564
commit
0377eea9c5
@ -101,7 +101,10 @@ char *mg_md5(char buf[33], ...);
|
||||
int mg_authorize_digest(struct mg_connection *c, FILE *fp);
|
||||
void mg_send_digest_auth_request(struct mg_connection *conn);
|
||||
|
||||
// HTTP client interface
|
||||
// Callback return codes
|
||||
enum { MG_REPLY_TO_BE_CONTINUED, MG_REPLY_COMPLETED };
|
||||
|
||||
// HTTP client events
|
||||
enum {
|
||||
MG_CONNECT_SUCCESS, MG_CONNECT_FAILURE,
|
||||
MG_DOWNLOAD_SUCCESS, MG_DOWNLOAD_FAILURE
|
||||
|
Loading…
x
Reference in New Issue
Block a user