|
@@ -72,6 +72,7 @@ CIVETWEB_API unsigned mg_exit_library(void);
|
|
|
|
|
|
|
|
|
|
struct mg_context; /* Handle for the HTTP service itself */
|
|
struct mg_context; /* Handle for the HTTP service itself */
|
|
|
|
+
|
|
struct mg_connection; /* Handle for the individual connection */
|
|
struct mg_connection; /* Handle for the individual connection */
|
|
|
|
|
|
|
|
|
|
@@ -497,7 +498,7 @@ CIVETWEB_API void *mg_get_user_data(const struct mg_context *ctx);
|
|
|
|
|
|
|
|
|
|
/* Set user data for the current connection. */
|
|
/* Set user data for the current connection. */
|
|
-CIVETWEB_API void mg_set_user_connection_data(struct mg_connection *conn,
|
|
|
|
|
|
+CIVETWEB_API void mg_set_user_connection_data(const struct mg_connection *conn,
|
|
void *data);
|
|
void *data);
|
|
|
|
|
|
|
|
|