mirror of
https://github.com/cesanta/mongoose.git
synced 2026-10-23 11:44:53 +00:00
More docstrings
This commit is contained in:
1 parent
35c1b9523f
commit
e923b413ae
5 files changed
+8
-2
No files matched your search
@@ -1,6 +1,5 @@
|
||||
#include "dash.h"
|
||||
#include "http.h"
|
||||
#include "ota.h"
|
||||
#include "util.h"
|
||||
|
||||
#define MG_NO_CACHE_HEADERS "Cache-Control: no-cache\r\n"
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
// TLS / Security
|
||||
#pragma once
|
||||
|
||||
// Available TLS backend libraries
|
||||
#define MG_TLS_NONE 0 // No TLS support
|
||||
#define MG_TLS_MBED 1 // mbedTLS
|
||||
#define MG_TLS_OPENSSL 2 // OpenSSL
|
||||
@@ -9,6 +10,8 @@
|
||||
#define MG_TLS_CUSTOM 4 // Custom implementation
|
||||
|
||||
#ifndef MG_TLS
|
||||
// mongoose_config.h setting. Set MG_TLS to one of the MG_TLS_* values above to
|
||||
// select a TLS backend. Defaults to MG_TLS_NONE (no TLS).
|
||||
#define MG_TLS MG_TLS_NONE
|
||||
#endif
|
||||
|
||||
|
||||
@@ -3,6 +3,7 @@
|
||||
#include "arch.h"
|
||||
#include "config.h"
|
||||
#include "net.h"
|
||||
#include "sntp.h"
|
||||
#include "str.h"
|
||||
|
||||
#if MG_ENABLE_ASSERT
|
||||
|
||||
Reference in new issue
Block a user