Lines Matching +full:- +full:- +full:build +full:- +full:root
7 …-alone executable. It can deliver static files and offers built-in server side Lua, JavaScript and…
11 ------
25 - HTTP server API
26 - include/civetweb.h
27 - C implementation
28 - src/civetweb.c
29 - src/md5.inl (MD5 calculation)
30 - src/sha1.inl (SHA calculation)
31 - src/handle\_form.inl (HTML form handling functions)
32 - src/timer.inl (optional timer support)
33 - Optional: C++ wrapper
34 - include/CivetServer.h (C++ interface)
35 - src/CivetServer.cpp (C++ wrapper implementation)
36 - Optional: Third party components
37 - src/third\_party/* (third party components, mainly used for the standalone server)
38 - src/mod\_*.inl (modules to access third party components from civetweb)
45 These files can be used to build a server executable. They contain a `main` function
48 - Stand-alone C server
49 - src/main.c
50 - Reference embedded C server
51 - examples/embedded\_c/embedded\_c.c
52 - Reference embedded C++ server
53 - examples/embedded\_cpp/embedded\_cpp.cpp
59 ------
64 - Include the C interface ```civetweb.h```.
65 - Use `mg_start()` to start the server.
66 - Use *options* to select the port and document root among other things.
67 - Use *callbacks* to add your own hooks.
68 - Use `mg_set_request_handler()` to easily add your own request handlers.
69 - Use `mg_stop()` to stop the server.
72 …- Note that CivetWeb is Clean C, and C++ interface ```CivetServer.h``` is only a wrapper layer aro…
74 - Create CivetHandlers for each URI.
75 - Register the handlers with `CivetServer::addHandler()`
76 - `CivetServer` starts on construction and stops on destruction.
77 - Use constructor *options* to select the port and document root among other things.
78 - Use constructor *callbacks* to add your own hooks.
84 ------
86 CivetWeb is highly customizable at build time, in addition to configuration at start time.
95 …build with Lua support, set `#define USE_LUA` (-DUSE_LUA), to build without CGI support set `#defi…
100 …. Interfaces and even names of internal functions may change without notice - when you use these d…
101 …plaining your use case, to discuss if this would be an appropriate solution - in general, other cu…
105 ------
111 - `-DLUA_COMPAT_ALL`
112 - `-DUSE_LUA`
113 - `-DUSE_LUA_SQLITE3`
114 - `-DUSE_LUA_FILE_SYSTEM`
118 - src/mod\_lua.inl
119 - src/third\_party/lua-5.2.4/src
152 - src/third\_party/sqlite3.c
153 - src/third\_party/sqlite3.h
154 - src/third\_party/lsqlite3.c
155 - src/third\_party/lfs.c
156 - src/third\_party/lfs.h
158 This build is valid for Lua version Lua 5.2. It is also possible to build with Lua 5.1 (including L…
162 ------
168 ------
174 - configuration options. Note that CivetWeb makes internal copies of
176 - SSL context, if any
177 - user-defined callbacks
178 - opened listening sockets
179 - a queue for accepted sockets
180 - mutexes and condition variables for inter-thread synchronization
189 you may need to initialize SSL before calling `mg_start()`, and set the pre-
228 to use hi-performance alternatives like `epoll()` or `kqueue()`. Worker
236 ------
258 /* Un-initialize the library */
273 "Content-Length: %lu\r\n"
274 "Content-Type: text/plain\r\n"