1
0
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:
Lammert Bies
2017-01-02 02:19:49 +01:00
parent 195c0aa837
commit 224f16168d
128 changed files with 413 additions and 413 deletions

View File

@@ -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];