mirror of
https://github.com/lammertb/libhttp.git
synced 2025-08-10 14:23:00 +03:00
Replaced httplib_context with lh_ctx_t
This commit is contained in:
@@ -30,7 +30,7 @@
|
||||
#include "httplib_utils.h"
|
||||
|
||||
/*
|
||||
* void XX_httplib_handle_request( const struct httplib_context *ctx, struct httplib_connection *conn );
|
||||
* void XX_httplib_handle_request( const struct lh_ctx_t *ctx, struct httplib_connection *conn );
|
||||
*
|
||||
* The function XX_httplib_handle_request() handles an incoming request. This
|
||||
* is the heart of the LibHTTP's logic. This function is called when the
|
||||
@@ -38,7 +38,7 @@
|
||||
* to take: serve a file, or a directory, or call embedded function, etcetera.
|
||||
*/
|
||||
|
||||
void XX_httplib_handle_request( struct httplib_context *ctx, struct httplib_connection *conn ) {
|
||||
void XX_httplib_handle_request( struct lh_ctx_t *ctx, struct httplib_connection *conn ) {
|
||||
|
||||
struct httplib_request_info *ri;
|
||||
char path[PATH_MAX];
|
||||
|
Reference in New Issue
Block a user