libwebsockets
Lightweight C library for HTML5 websockets
Loading...
Searching...
No Matches
lws-core.h
Go to the documentation of this file.
1/*
2 * libwebsockets - small server side websockets and web server implementation
3 *
4 * Copyright (C) 2010 - 2026 Andy Green <andy@warmcat.com>
5 *
6 * Permission is hereby granted, free of charge, to any person obtaining a copy
7 * of this software and associated documentation files (the "Software"), to
8 * deal in the Software without restriction, including without limitation the
9 * rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
10 * sell copies of the Software, and to permit persons to whom the Software is
11 * furnished to do so, subject to the following conditions:
12 *
13 * The above copyright notice and this permission notice shall be included in
14 * all copies or substantial portions of the Software.
15 *
16 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
19 * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
21 * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
22 * DEALINGS IN THE SOFTWARE.
23 *
24 * lws-core.h: the substrate both halves of lws stand on. Data structures,
25 * logging, time as data, parsers, decoders, utilities. Nothing in here
26 * names a socket, an fd, a poll flag, a tls library object, an event loop
27 * handle or a platform device. See READMEs/README.sans-io-split.md.
28 *
29 * Included by libwebsockets.h after its platform preamble, first of the
30 * three tiers.
31 */
32
33struct lws;
34struct lws_context;
35struct lws_vhost;
37
40
45#if defined(LWS_WITH_SYS_SMD)
47#endif
51#if defined(LWS_WITH_NETWORK)
53#endif
54
60#if defined(LWS_WITH_MNEMONIC)
62#endif
64#if defined(LWS_WITH_FILE_OPS)
66#endif
67
77
82#if defined(LWS_WITH_HL)
84#endif
85#if defined(LWS_WITH_MD)
87#endif