Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
M
mongoose
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Ganil-acq
GANILinux
linux-service
library
mongoose
Commits
279c06c6
Commit
279c06c6
authored
11 years ago
by
Sergey Lyubka
Browse files
Options
Downloads
Patches
Plain Diff
Cleaned up cruft from mongoose.h
parent
570c8213
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
mongoose.h
+1
-13
1 addition, 13 deletions
mongoose.h
with
1 addition
and
13 deletions
mongoose.h
+
1
−
13
View file @
279c06c6
...
...
@@ -81,6 +81,7 @@ void mg_set_listening_socket(struct mg_server *, int sock);
int
mg_get_listening_socket
(
struct
mg_server
*
);
void
mg_iterate_over_connections
(
struct
mg_server
*
,
mg_handler_t
);
void
mg_wakeup_server
(
struct
mg_server
*
);
struct
mg_connection
*
mg_connect
(
struct
mg_server
*
,
const
char
*
,
int
,
int
);
// Connection management functions
void
mg_send_status
(
struct
mg_connection
*
,
int
status_code
);
...
...
@@ -110,19 +111,6 @@ void *mg_start_thread(void *(*func)(void *), void *param);
char
*
mg_md5
(
char
buf
[
33
],
...);
int
mg_authorize_digest
(
struct
mg_connection
*
c
,
FILE
*
fp
);
// Callback function return codes
enum
{
MG_REQUEST_NOT_PROCESSED
,
MG_REQUEST_PROCESSED
,
MG_REQUEST_CALL_AGAIN
};
enum
{
MG_AUTH_FAIL
,
MG_AUTH_OK
};
enum
{
MG_ERROR_NOT_PROCESSED
,
MG_ERROR_PROCESSED
};
enum
{
MG_CLIENT_CONTINUE
,
MG_CLIENT_CLOSE
};
// HTTP client events
enum
{
MG_CONNECT_SUCCESS
,
MG_CONNECT_FAILURE
,
MG_DOWNLOAD_SUCCESS
,
MG_DOWNLOAD_FAILURE
};
struct
mg_connection
*
mg_connect
(
struct
mg_server
*
,
const
char
*
,
int
,
int
);
#ifdef __cplusplus
}
#endif // __cplusplus
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment