From 62454373db4cd2add82ded0cf7b21f7d69ade597 Mon Sep 17 00:00:00 2001 From: spl3g Date: Sat, 22 Mar 2025 21:41:16 +0300 Subject: Reorganize the lib --- README.org | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) (limited to 'README.org') diff --git a/README.org b/README.org index 93b3c94..cf7d2cb 100644 --- a/README.org +++ b/README.org @@ -1,7 +1,12 @@ * chttp This is not really a library, but a little project for my education. But if you really want to use it, you can. ** Installation -Just copy the lib directory and use the header files. +#+begin_src shell + make static + # or + make shared +#+end_src +Copy the directory in the =include/= folder to your project. ** Usage *** Initializing the server #+begin_src c @@ -43,8 +48,8 @@ And to wrap things up, we need to run #+end_src *** Full example #+begin_src c - #include "lib/http.h" - #include "lib/const_strings.h" + #include + #include void logging_func(http_middleware *self, http_request req) { http_run_next(self, req); -- cgit v1.2.3