From 3054952a5e99f2c4e29a1a9b75dd369b6a60ca0d Mon Sep 17 00:00:00 2001 From: Sergey Lyubka <lsm@cesanta.com> Date: Thu, 21 Jul 2016 15:30:01 +0100 Subject: [PATCH] Add %T to the API ref PUBLISHED_FROM=f6679ea960b3aa0bc9142515548835ee0f78af67 --- docs/build-options/disabling-flags.md | 6 +++--- docs/build-options/intro.md | 6 +++--- docs/build-options/tunables.md | 2 +- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/docs/build-options/disabling-flags.md b/docs/build-options/disabling-flags.md index cdb9af2c8..c268a2e52 100644 --- a/docs/build-options/disabling-flags.md +++ b/docs/build-options/disabling-flags.md @@ -2,10 +2,10 @@ title: Disabling flags --- -- `MG_DISABLE_HTTP_WEBSOCKET` disable HTTP + Websocket protocol support -- `MG_DISABLE_HTTP_DIGEST_AUTH` disable HTTP Digest (MD5) authorization support +- `MG_DISABLE_HTTP_WEBSOCKET` disable HTTP + WebSocket protocol support +- `MG_DISABLE_HTTP_DIGEST_AUTH` disable HTTP Digest (MD5) authorisation support - `MG_DISABLE_MQTT` disable MQTT support -- `MG_DISABLE_SHA1` disable SHA1 support (used by Websocket) +- `MG_DISABLE_SHA1` disable SHA1 support (used by WebSocket) - `MG_DISABLE_MD5` disable MD5 support (used by HTTP auth) - `MG_DISABLE_SOCKETPAIR` disable `mg_broadcast()` API - `MG_DISABLE_HTTP_KEEP_ALIVE` useful for embedded systems to save resources diff --git a/docs/build-options/intro.md b/docs/build-options/intro.md index 871ea64ec..93e67ef01 100644 --- a/docs/build-options/intro.md +++ b/docs/build-options/intro.md @@ -9,12 +9,12 @@ items: Mongoose source code ships in a single .c file that contains functionality for all supported protocols (modules). Modules can be disabled at compile -time which reduces executable size. That can be done by setting preprocessor +time which reduces the executable's size. That can be done by setting preprocessor flags. Also, some preprocessor flags can be used to tune internal Mongoose parameters. -To set a preprocessor flag during compile time, use `-D <PREPROCESSOR_FLAG>` -compiler option. For example, to disable both MQTT and COAP, +To set a preprocessor flag during compile time, use the `-D <PREPROCESSOR_FLAG>` +compiler option. For example, to disable both MQTT and CoAP, compile the application `my_app.c` like this (assumed UNIX system): ``` diff --git a/docs/build-options/tunables.md b/docs/build-options/tunables.md index 1eeefe427..e1ca4c63c 100644 --- a/docs/build-options/tunables.md +++ b/docs/build-options/tunables.md @@ -2,7 +2,7 @@ title: Tunables --- -- `MG_MALLOC`, `MG_CALLOC`, `MG_REALLOC`, `MG_FREE` allow to use custom +- `MG_MALLOC`, `MG_CALLOC`, `MG_REALLOC`, `MG_FREE` allow you to a use custom memory allocator, e.g. `-DMG_MALLOC=my_malloc` - `MG_USE_READ_WRITE` when set replaces calls to `recv` with `read` and `send` with `write`, thus enabling to add any kind of file descriptor (files, serial devices) to an event manager. -- GitLab