the push is modified as follows:
1. delete some junk files. 2. mqttclient added comments and updated to v1.0.2. 3. update README.md. 4. update the author's own server certificate. 5. minor changes to salof.
This commit is contained in:
@@ -2,15 +2,15 @@
|
||||
* @Author: jiejie
|
||||
* @Github: https://github.com/jiejieTop
|
||||
* @Date: 2019-12-09 21:31:02
|
||||
* @LastEditTime : 2020-01-14 03:38:32
|
||||
* @LastEditTime: 2020-02-25 03:49:11
|
||||
* @Description: the code belongs to jiejie, please keep the author information and source code according to the license.
|
||||
*/
|
||||
#ifndef _NETWORK_H_
|
||||
#define _NETWORK_H_
|
||||
|
||||
#include "mqtt_config.h"
|
||||
#include "mqtt_defconfig.h"
|
||||
|
||||
#if MQTT_NETWORK_TYPE_TLS
|
||||
#ifdef MQTT_NETWORK_TYPE_TLS
|
||||
typedef struct network_ssl_params {
|
||||
const char *ca_crt;
|
||||
size_t ca_crt_len;
|
||||
@@ -31,7 +31,7 @@ typedef struct network_ssl_params {
|
||||
typedef struct network_params {
|
||||
char *addr;
|
||||
char *port;
|
||||
#if MQTT_NETWORK_TYPE_TLS
|
||||
#ifdef MQTT_NETWORK_TYPE_TLS
|
||||
network_ssl_params_t network_ssl_params;
|
||||
void *nettype_tls_params;
|
||||
#endif /* MQTT_NETWORK_TYPE_TLS */
|
||||
|
Reference in New Issue
Block a user