Commit 4d76a3be authored by Deomid Ryabkov's avatar Deomid Ryabkov Committed by Cesanta Bot

Amalgamation changes - clean up paths

Make paths embedded in amalgamated files nice and relative.
This facilitates subsequent clean un- and re-amalgamation.

PUBLISHED_FROM=d83e6000617c54ceaeb78b80c25814996043fe66
parent d9c612ef
#include "mongoose.h" #include "mongoose.h"
#ifdef MG_MODULE_LINES #ifdef MG_MODULE_LINES
#line 1 "./src/internal.h" #line 1 "mongoose/src/internal.h"
#endif #endif
/* /*
* Copyright (c) 2014 Cesanta Software Limited * Copyright (c) 2014 Cesanta Software Limited
...@@ -121,7 +121,7 @@ extern void *(*test_calloc)(size_t count, size_t size); ...@@ -121,7 +121,7 @@ extern void *(*test_calloc)(size_t count, size_t size);
#endif /* CS_MONGOOSE_SRC_INTERNAL_H_ */ #endif /* CS_MONGOOSE_SRC_INTERNAL_H_ */
#ifdef MG_MODULE_LINES #ifdef MG_MODULE_LINES
#line 1 "./src/../../common/cs_dbg.h" #line 1 "common/cs_dbg.h"
#endif #endif
/* /*
* Copyright (c) 2014-2016 Cesanta Software Limited * Copyright (c) 2014-2016 Cesanta Software Limited
...@@ -194,7 +194,7 @@ void cs_log_printf(const char *fmt, ...); ...@@ -194,7 +194,7 @@ void cs_log_printf(const char *fmt, ...);
#endif /* CS_COMMON_CS_DBG_H_ */ #endif /* CS_COMMON_CS_DBG_H_ */
#ifdef MG_MODULE_LINES #ifdef MG_MODULE_LINES
#line 1 "./src/../../common/cs_dbg.c" #line 1 "common/cs_dbg.c"
#endif #endif
/* /*
* Copyright (c) 2014-2016 Cesanta Software Limited * Copyright (c) 2014-2016 Cesanta Software Limited
...@@ -257,7 +257,7 @@ void cs_log_set_level(enum cs_log_level level) { ...@@ -257,7 +257,7 @@ void cs_log_set_level(enum cs_log_level level) {
#endif #endif
} }
#ifdef MG_MODULE_LINES #ifdef MG_MODULE_LINES
#line 1 "./src/../../common/base64.c" #line 1 "common/base64.c"
#endif #endif
/* /*
* Copyright (c) 2014 Cesanta Software Limited * Copyright (c) 2014 Cesanta Software Limited
...@@ -460,7 +460,7 @@ int cs_base64_decode(const unsigned char *s, int len, char *dst) { ...@@ -460,7 +460,7 @@ int cs_base64_decode(const unsigned char *s, int len, char *dst) {
#endif /* EXCLUDE_COMMON */ #endif /* EXCLUDE_COMMON */
#ifdef MG_MODULE_LINES #ifdef MG_MODULE_LINES
#line 1 "./src/../../common/cs_dirent.h" #line 1 "common/cs_dirent.h"
#endif #endif
/* /*
* Copyright (c) 2014-2016 Cesanta Software Limited * Copyright (c) 2014-2016 Cesanta Software Limited
...@@ -515,7 +515,7 @@ struct dirent *readdir(DIR *dir); ...@@ -515,7 +515,7 @@ struct dirent *readdir(DIR *dir);
#endif /* CS_COMMON_CS_DIRENT_H_ */ #endif /* CS_COMMON_CS_DIRENT_H_ */
#ifdef MG_MODULE_LINES #ifdef MG_MODULE_LINES
#line 1 "./src/../../common/cs_dirent.c" #line 1 "common/cs_dirent.c"
#endif #endif
/* /*
* Copyright (c) 2015 Cesanta Software Limited * Copyright (c) 2015 Cesanta Software Limited
...@@ -653,7 +653,7 @@ int mkdir(const char *path, mode_t mode) { ...@@ -653,7 +653,7 @@ int mkdir(const char *path, mode_t mode) {
/* ISO C requires a translation unit to contain at least one declaration */ /* ISO C requires a translation unit to contain at least one declaration */
typedef int cs_dirent_dummy; typedef int cs_dirent_dummy;
#ifdef MG_MODULE_LINES #ifdef MG_MODULE_LINES
#line 1 "./src/../../common/cs_time.c" #line 1 "common/cs_time.c"
#endif #endif
/* /*
* Copyright (c) 2014-2016 Cesanta Software Limited * Copyright (c) 2014-2016 Cesanta Software Limited
...@@ -684,7 +684,7 @@ double cs_time(void) { ...@@ -684,7 +684,7 @@ double cs_time(void) {
return now; return now;
} }
#ifdef MG_MODULE_LINES #ifdef MG_MODULE_LINES
#line 1 "./src/../../common/cs_endian.h" #line 1 "common/cs_endian.h"
#endif #endif
/* /*
* Copyright (c) 2014-2016 Cesanta Software Limited * Copyright (c) 2014-2016 Cesanta Software Limited
...@@ -711,7 +711,7 @@ double cs_time(void) { ...@@ -711,7 +711,7 @@ double cs_time(void) {
#endif /* CS_COMMON_CS_ENDIAN_H_ */ #endif /* CS_COMMON_CS_ENDIAN_H_ */
#ifdef MG_MODULE_LINES #ifdef MG_MODULE_LINES
#line 1 "./src/../../common/md5.c" #line 1 "common/md5.c"
#endif #endif
/* /*
* This code implements the MD5 message-digest algorithm. * This code implements the MD5 message-digest algorithm.
...@@ -958,7 +958,7 @@ char *cs_md5(char buf[33], ...) { ...@@ -958,7 +958,7 @@ char *cs_md5(char buf[33], ...) {
#endif /* EXCLUDE_COMMON */ #endif /* EXCLUDE_COMMON */
#ifdef MG_MODULE_LINES #ifdef MG_MODULE_LINES
#line 1 "./src/../../common/mbuf.c" #line 1 "common/mbuf.c"
#endif #endif
/* /*
* Copyright (c) 2014 Cesanta Software Limited * Copyright (c) 2014 Cesanta Software Limited
...@@ -1055,7 +1055,7 @@ void mbuf_remove(struct mbuf *mb, size_t n) { ...@@ -1055,7 +1055,7 @@ void mbuf_remove(struct mbuf *mb, size_t n) {
#endif /* EXCLUDE_COMMON */ #endif /* EXCLUDE_COMMON */
#ifdef MG_MODULE_LINES #ifdef MG_MODULE_LINES
#line 1 "./src/../../common/mg_str.c" #line 1 "common/mg_str.c"
#endif #endif
/* /*
* Copyright (c) 2014-2016 Cesanta Software Limited * Copyright (c) 2014-2016 Cesanta Software Limited
...@@ -1122,7 +1122,7 @@ int mg_strcmp(const struct mg_str str1, const struct mg_str str2) { ...@@ -1122,7 +1122,7 @@ int mg_strcmp(const struct mg_str str1, const struct mg_str str2) {
return 0; return 0;
} }
#ifdef MG_MODULE_LINES #ifdef MG_MODULE_LINES
#line 1 "./src/../../common/sha1.c" #line 1 "common/sha1.c"
#endif #endif
/* Copyright(c) By Steve Reid <steve@edmweb.com> */ /* Copyright(c) By Steve Reid <steve@edmweb.com> */
/* 100% Public Domain */ /* 100% Public Domain */
...@@ -1376,7 +1376,7 @@ void cs_hmac_sha1(const unsigned char *key, size_t keylen, ...@@ -1376,7 +1376,7 @@ void cs_hmac_sha1(const unsigned char *key, size_t keylen,
#endif /* EXCLUDE_COMMON */ #endif /* EXCLUDE_COMMON */
#ifdef MG_MODULE_LINES #ifdef MG_MODULE_LINES
#line 1 "./src/../../common/str_util.c" #line 1 "common/str_util.c"
#endif #endif
/* /*
* Copyright (c) 2015 Cesanta Software Limited * Copyright (c) 2015 Cesanta Software Limited
...@@ -1645,7 +1645,7 @@ const char *c_strnstr(const char *s, const char *find, size_t slen) { ...@@ -1645,7 +1645,7 @@ const char *c_strnstr(const char *s, const char *find, size_t slen) {
#endif /* EXCLUDE_COMMON */ #endif /* EXCLUDE_COMMON */
#ifdef MG_MODULE_LINES #ifdef MG_MODULE_LINES
#line 1 "./src/net.c" #line 1 "mongoose/src/net.c"
#endif #endif
/* /*
* Copyright (c) 2014 Cesanta Software Limited * Copyright (c) 2014 Cesanta Software Limited
...@@ -2725,7 +2725,7 @@ double mg_time(void) { ...@@ -2725,7 +2725,7 @@ double mg_time(void) {
return cs_time(); return cs_time();
} }
#ifdef MG_MODULE_LINES #ifdef MG_MODULE_LINES
#line 1 "./src/net_if_socket.c" #line 1 "mongoose/src/net_if_socket.c"
#endif #endif
/* /*
* Copyright (c) 2014-2016 Cesanta Software Limited * Copyright (c) 2014-2016 Cesanta Software Limited
...@@ -3434,7 +3434,7 @@ void mg_if_get_conn_addr(struct mg_connection *nc, int remote, ...@@ -3434,7 +3434,7 @@ void mg_if_get_conn_addr(struct mg_connection *nc, int remote,
#endif /* !defined(MG_DISABLE_SOCKET_IF) && !defined(MG_SOCKET_SIMPLELINK) */ #endif /* !defined(MG_DISABLE_SOCKET_IF) && !defined(MG_SOCKET_SIMPLELINK) */
#ifdef MG_MODULE_LINES #ifdef MG_MODULE_LINES
#line 1 "./src/multithreading.c" #line 1 "mongoose/src/multithreading.c"
#endif #endif
/* /*
* Copyright (c) 2014 Cesanta Software Limited * Copyright (c) 2014 Cesanta Software Limited
...@@ -3566,7 +3566,7 @@ void mg_enable_multithreading(struct mg_connection *nc) { ...@@ -3566,7 +3566,7 @@ void mg_enable_multithreading(struct mg_connection *nc) {
#endif #endif
#ifdef MG_MODULE_LINES #ifdef MG_MODULE_LINES
#line 1 "./src/uri.c" #line 1 "mongoose/src/uri.c"
#endif #endif
/* /*
* Copyright (c) 2014 Cesanta Software Limited * Copyright (c) 2014 Cesanta Software Limited
...@@ -3743,7 +3743,7 @@ int mg_normalize_uri_path(const struct mg_str *in, struct mg_str *out) { ...@@ -3743,7 +3743,7 @@ int mg_normalize_uri_path(const struct mg_str *in, struct mg_str *out) {
return 1; return 1;
} }
#ifdef MG_MODULE_LINES #ifdef MG_MODULE_LINES
#line 1 "./src/http.c" #line 1 "mongoose/src/http.c"
#endif #endif
/* /*
* Copyright (c) 2014 Cesanta Software Limited * Copyright (c) 2014 Cesanta Software Limited
...@@ -7510,7 +7510,7 @@ void mg_register_http_endpoint(struct mg_connection *nc, const char *uri_path, ...@@ -7510,7 +7510,7 @@ void mg_register_http_endpoint(struct mg_connection *nc, const char *uri_path,
#endif /* MG_DISABLE_HTTP */ #endif /* MG_DISABLE_HTTP */
#ifdef MG_MODULE_LINES #ifdef MG_MODULE_LINES
#line 1 "./src/util.c" #line 1 "mongoose/src/util.c"
#endif #endif
/* /*
* Copyright (c) 2014 Cesanta Software Limited * Copyright (c) 2014 Cesanta Software Limited
...@@ -7870,7 +7870,7 @@ int mg_match_prefix(const char *pattern, int pattern_len, const char *str) { ...@@ -7870,7 +7870,7 @@ int mg_match_prefix(const char *pattern, int pattern_len, const char *str) {
return mg_match_prefix_n(pstr, mg_mk_str(str)); return mg_match_prefix_n(pstr, mg_mk_str(str));
} }
#ifdef MG_MODULE_LINES #ifdef MG_MODULE_LINES
#line 1 "./src/mqtt.c" #line 1 "mongoose/src/mqtt.c"
#endif #endif
/* /*
* Copyright (c) 2014 Cesanta Software Limited * Copyright (c) 2014 Cesanta Software Limited
...@@ -8193,7 +8193,7 @@ void mg_mqtt_disconnect(struct mg_connection *nc) { ...@@ -8193,7 +8193,7 @@ void mg_mqtt_disconnect(struct mg_connection *nc) {
#endif /* MG_DISABLE_MQTT */ #endif /* MG_DISABLE_MQTT */
#ifdef MG_MODULE_LINES #ifdef MG_MODULE_LINES
#line 1 "./src/mqtt_server.c" #line 1 "mongoose/src/mqtt_server.c"
#endif #endif
/* /*
* Copyright (c) 2014 Cesanta Software Limited * Copyright (c) 2014 Cesanta Software Limited
...@@ -8366,7 +8366,7 @@ struct mg_mqtt_session *mg_mqtt_next(struct mg_mqtt_broker *brk, ...@@ -8366,7 +8366,7 @@ struct mg_mqtt_session *mg_mqtt_next(struct mg_mqtt_broker *brk,
#endif /* MG_ENABLE_MQTT_BROKER */ #endif /* MG_ENABLE_MQTT_BROKER */
#ifdef MG_MODULE_LINES #ifdef MG_MODULE_LINES
#line 1 "./src/dns.c" #line 1 "mongoose/src/dns.c"
#endif #endif
/* /*
* Copyright (c) 2014 Cesanta Software Limited * Copyright (c) 2014 Cesanta Software Limited
...@@ -8738,7 +8738,7 @@ void mg_set_protocol_dns(struct mg_connection *nc) { ...@@ -8738,7 +8738,7 @@ void mg_set_protocol_dns(struct mg_connection *nc) {
#endif /* MG_DISABLE_DNS */ #endif /* MG_DISABLE_DNS */
#ifdef MG_MODULE_LINES #ifdef MG_MODULE_LINES
#line 1 "./src/dns_server.c" #line 1 "mongoose/src/dns_server.c"
#endif #endif
/* /*
* Copyright (c) 2014 Cesanta Software Limited * Copyright (c) 2014 Cesanta Software Limited
...@@ -8812,7 +8812,7 @@ int mg_dns_reply_record(struct mg_dns_reply *reply, ...@@ -8812,7 +8812,7 @@ int mg_dns_reply_record(struct mg_dns_reply *reply,
#endif /* MG_ENABLE_DNS_SERVER */ #endif /* MG_ENABLE_DNS_SERVER */
#ifdef MG_MODULE_LINES #ifdef MG_MODULE_LINES
#line 1 "./src/resolv.c" #line 1 "mongoose/src/resolv.c"
#endif #endif
/* /*
* Copyright (c) 2014 Cesanta Software Limited * Copyright (c) 2014 Cesanta Software Limited
...@@ -9075,7 +9075,7 @@ int mg_resolve_async_opt(struct mg_mgr *mgr, const char *name, int query, ...@@ -9075,7 +9075,7 @@ int mg_resolve_async_opt(struct mg_mgr *mgr, const char *name, int query,
#endif /* MG_DISABLE_RESOLVE */ #endif /* MG_DISABLE_RESOLVE */
#ifdef MG_MODULE_LINES #ifdef MG_MODULE_LINES
#line 1 "./src/coap.c" #line 1 "mongoose/src/coap.c"
#endif #endif
/* /*
* Copyright (c) 2015 Cesanta Software Limited * Copyright (c) 2015 Cesanta Software Limited
...@@ -9672,7 +9672,7 @@ int mg_set_protocol_coap(struct mg_connection *nc) { ...@@ -9672,7 +9672,7 @@ int mg_set_protocol_coap(struct mg_connection *nc) {
#endif /* MG_DISABLE_COAP */ #endif /* MG_DISABLE_COAP */
#ifdef MG_MODULE_LINES #ifdef MG_MODULE_LINES
#line 1 "./src/../../common/platforms/cc3200/cc3200_libc.c" #line 1 "common/platforms/cc3200/cc3200_libc.c"
#endif #endif
/* /*
* Copyright (c) 2014-2016 Cesanta Software Limited * Copyright (c) 2014-2016 Cesanta Software Limited
...@@ -9796,7 +9796,7 @@ int _isatty(int fd) { ...@@ -9796,7 +9796,7 @@ int _isatty(int fd) {
#endif /* CS_PLATFORM == CS_P_CC3200 */ #endif /* CS_PLATFORM == CS_P_CC3200 */
#ifdef MG_MODULE_LINES #ifdef MG_MODULE_LINES
#line 1 "./src/../../common/platforms/msp432/msp432_libc.c" #line 1 "common/platforms/msp432/msp432_libc.c"
#endif #endif
/* /*
* Copyright (c) 2014-2016 Cesanta Software Limited * Copyright (c) 2014-2016 Cesanta Software Limited
...@@ -9817,7 +9817,7 @@ int gettimeofday(struct timeval *tp, void *tzp) { ...@@ -9817,7 +9817,7 @@ int gettimeofday(struct timeval *tp, void *tzp) {
#endif /* CS_PLATFORM == CS_P_MSP432 */ #endif /* CS_PLATFORM == CS_P_MSP432 */
#ifdef MG_MODULE_LINES #ifdef MG_MODULE_LINES
#line 1 "./src/../../common/platforms/simplelink/sl_fs_slfs.h" #line 1 "common/platforms/simplelink/sl_fs_slfs.h"
#endif #endif
/* /*
* Copyright (c) 2014-2016 Cesanta Software Limited * Copyright (c) 2014-2016 Cesanta Software Limited
...@@ -9854,7 +9854,7 @@ void fs_slfs_set_new_file_size(const char *name, size_t size); ...@@ -9854,7 +9854,7 @@ void fs_slfs_set_new_file_size(const char *name, size_t size);
#endif /* CS_COMMON_PLATFORMS_SIMPLELINK_SL_FS_SLFS_H_ */ #endif /* CS_COMMON_PLATFORMS_SIMPLELINK_SL_FS_SLFS_H_ */
#ifdef MG_MODULE_LINES #ifdef MG_MODULE_LINES
#line 1 "./src/../../common/platforms/simplelink/sl_fs_slfs.c" #line 1 "common/platforms/simplelink/sl_fs_slfs.c"
#endif #endif
/* /*
* Copyright (c) 2014-2016 Cesanta Software Limited * Copyright (c) 2014-2016 Cesanta Software Limited
...@@ -10075,7 +10075,7 @@ void fs_slfs_set_new_file_size(const char *name, size_t size) { ...@@ -10075,7 +10075,7 @@ void fs_slfs_set_new_file_size(const char *name, size_t size) {
#endif /* defined(MG_FS_SLFS) || defined(CC3200_FS_SLFS) */ #endif /* defined(MG_FS_SLFS) || defined(CC3200_FS_SLFS) */
#ifdef MG_MODULE_LINES #ifdef MG_MODULE_LINES
#line 1 "./src/../../common/platforms/simplelink/sl_fs.c" #line 1 "common/platforms/simplelink/sl_fs.c"
#endif #endif
/* /*
* Copyright (c) 2014-2016 Cesanta Software Limited * Copyright (c) 2014-2016 Cesanta Software Limited
...@@ -10471,7 +10471,7 @@ int sl_fs_init(void) { ...@@ -10471,7 +10471,7 @@ int sl_fs_init(void) {
#endif /* defined(MG_SOCKET_SIMPLELINK) && (defined(MG_FS_SLFS) || \ #endif /* defined(MG_SOCKET_SIMPLELINK) && (defined(MG_FS_SLFS) || \
defined(MG_FS_SPIFFS)) */ defined(MG_FS_SPIFFS)) */
#ifdef MG_MODULE_LINES #ifdef MG_MODULE_LINES
#line 1 "./src/../../common/platforms/simplelink/sl_socket.c" #line 1 "common/platforms/simplelink/sl_socket.c"
#endif #endif
/* /*
* Copyright (c) 2014-2016 Cesanta Software Limited * Copyright (c) 2014-2016 Cesanta Software Limited
...@@ -10522,7 +10522,7 @@ int inet_pton(int af, const char *src, void *dst) { ...@@ -10522,7 +10522,7 @@ int inet_pton(int af, const char *src, void *dst) {
#endif /* CS_COMMON_PLATFORMS_SIMPLELINK_SL_SOCKET_C_ */ #endif /* CS_COMMON_PLATFORMS_SIMPLELINK_SL_SOCKET_C_ */
#ifdef MG_MODULE_LINES #ifdef MG_MODULE_LINES
#line 1 "./src/../../common/platforms/simplelink/sl_mg_task.c" #line 1 "common/platforms/simplelink/sl_mg_task.c"
#endif #endif
#if defined(MG_SOCKET_SIMPLELINK) && !defined(MG_SIMPLELINK_NO_OSI) #if defined(MG_SOCKET_SIMPLELINK) && !defined(MG_SIMPLELINK_NO_OSI)
...@@ -10576,7 +10576,7 @@ void mg_run_in_task(void (*cb)(struct mg_mgr *mgr, void *arg), void *cb_arg) { ...@@ -10576,7 +10576,7 @@ void mg_run_in_task(void (*cb)(struct mg_mgr *mgr, void *arg), void *cb_arg) {
#endif /* defined(MG_SOCKET_SIMPLELINK) */ #endif /* defined(MG_SOCKET_SIMPLELINK) */
#ifdef MG_MODULE_LINES #ifdef MG_MODULE_LINES
#line 1 "./src/../../common/platforms/simplelink/sl_net_if.c" #line 1 "common/platforms/simplelink/sl_net_if.c"
#endif #endif
/* /*
* Copyright (c) 2014-2016 Cesanta Software Limited * Copyright (c) 2014-2016 Cesanta Software Limited
......
#ifdef MG_MODULE_LINES
#line 1 "mongoose/src/common.h"
#endif
/* /*
* Copyright (c) 2004-2013 Sergey Lyubka * Copyright (c) 2004-2013 Sergey Lyubka
* Copyright (c) 2013-2015 Cesanta Software Limited * Copyright (c) 2013-2015 Cesanta Software Limited
...@@ -61,8 +64,12 @@ ...@@ -61,8 +64,12 @@
#endif #endif
#endif /* MG_NO_BSD_SOCKETS */ #endif /* MG_NO_BSD_SOCKETS */
/* Amalgamated: #include "common/cs_dbg.h" */
#endif /* CS_MONGOOSE_SRC_COMMON_H_ */ #endif /* CS_MONGOOSE_SRC_COMMON_H_ */
#ifdef MG_MODULE_LINES
#line 1 "common/platform.h"
#endif
#ifndef CS_COMMON_PLATFORM_H_ #ifndef CS_COMMON_PLATFORM_H_
#define CS_COMMON_PLATFORM_H_ #define CS_COMMON_PLATFORM_H_
...@@ -98,6 +105,11 @@ ...@@ -98,6 +105,11 @@
#endif /* !defined(CS_PLATFORM) */ #endif /* !defined(CS_PLATFORM) */
/* Amalgamated: #include "common/platforms/platform_unix.h" */
/* Amalgamated: #include "common/platforms/platform_windows.h" */
/* Amalgamated: #include "common/platforms/platform_esp_lwip.h" */
/* Amalgamated: #include "common/platforms/platform_cc3200.h" */
/* Amalgamated: #include "common/platforms/platform_cc3100.h" */
/* Common stuff */ /* Common stuff */
...@@ -118,6 +130,9 @@ ...@@ -118,6 +130,9 @@
#endif #endif
#endif /* CS_COMMON_PLATFORM_H_ */ #endif /* CS_COMMON_PLATFORM_H_ */
#ifdef MG_MODULE_LINES
#line 1 "common/platforms/platform_windows.h"
#endif
#ifndef CS_COMMON_PLATFORMS_PLATFORM_WINDOWS_H_ #ifndef CS_COMMON_PLATFORMS_PLATFORM_WINDOWS_H_
#define CS_COMMON_PLATFORMS_PLATFORM_WINDOWS_H_ #define CS_COMMON_PLATFORMS_PLATFORM_WINDOWS_H_
#if CS_PLATFORM == CS_P_WINDOWS #if CS_PLATFORM == CS_P_WINDOWS
...@@ -260,6 +275,9 @@ typedef struct _stati64 cs_stat_t; ...@@ -260,6 +275,9 @@ typedef struct _stati64 cs_stat_t;
#endif /* CS_PLATFORM == CS_P_WINDOWS */ #endif /* CS_PLATFORM == CS_P_WINDOWS */
#endif /* CS_COMMON_PLATFORMS_PLATFORM_WINDOWS_H_ */ #endif /* CS_COMMON_PLATFORMS_PLATFORM_WINDOWS_H_ */
#ifdef MG_MODULE_LINES
#line 1 "common/platforms/platform_unix.h"
#endif
#ifndef CS_COMMON_PLATFORMS_PLATFORM_UNIX_H_ #ifndef CS_COMMON_PLATFORMS_PLATFORM_UNIX_H_
#define CS_COMMON_PLATFORMS_PLATFORM_UNIX_H_ #define CS_COMMON_PLATFORMS_PLATFORM_UNIX_H_
#if CS_PLATFORM == CS_P_UNIX #if CS_PLATFORM == CS_P_UNIX
...@@ -359,6 +377,9 @@ typedef struct stat cs_stat_t; ...@@ -359,6 +377,9 @@ typedef struct stat cs_stat_t;
#endif /* CS_PLATFORM == CS_P_UNIX */ #endif /* CS_PLATFORM == CS_P_UNIX */
#endif /* CS_COMMON_PLATFORMS_PLATFORM_UNIX_H_ */ #endif /* CS_COMMON_PLATFORMS_PLATFORM_UNIX_H_ */
#ifdef MG_MODULE_LINES
#line 1 "common/platforms/platform_esp_lwip.h"
#endif
#ifndef CS_COMMON_PLATFORMS_PLATFORM_ESP_LWIP_H_ #ifndef CS_COMMON_PLATFORMS_PLATFORM_ESP_LWIP_H_
#define CS_COMMON_PLATFORMS_PLATFORM_ESP_LWIP_H_ #define CS_COMMON_PLATFORMS_PLATFORM_ESP_LWIP_H_
#if CS_PLATFORM == CS_P_ESP_LWIP #if CS_PLATFORM == CS_P_ESP_LWIP
...@@ -410,6 +431,9 @@ unsigned long os_random(void); ...@@ -410,6 +431,9 @@ unsigned long os_random(void);
#endif /* CS_PLATFORM == CS_P_ESP_LWIP */ #endif /* CS_PLATFORM == CS_P_ESP_LWIP */
#endif /* CS_COMMON_PLATFORMS_PLATFORM_ESP_LWIP_H_ */ #endif /* CS_COMMON_PLATFORMS_PLATFORM_ESP_LWIP_H_ */
#ifdef MG_MODULE_LINES
#line 1 "common/platforms/platform_cc3100.h"
#endif
/* /*
* Copyright (c) 2014-2016 Cesanta Software Limited * Copyright (c) 2014-2016 Cesanta Software Limited
* All rights reserved * All rights reserved
...@@ -461,6 +485,9 @@ int inet_pton(int af, const char *src, void *dst); ...@@ -461,6 +485,9 @@ int inet_pton(int af, const char *src, void *dst);
#endif /* CS_PLATFORM == CS_P_CC3100 */ #endif /* CS_PLATFORM == CS_P_CC3100 */
#endif /* CS_COMMON_PLATFORMS_PLATFORM_CC3100_H_ */ #endif /* CS_COMMON_PLATFORMS_PLATFORM_CC3100_H_ */
#ifdef MG_MODULE_LINES
#line 1 "common/platforms/platform_cc3200.h"
#endif
/* /*
* Copyright (c) 2014-2016 Cesanta Software Limited * Copyright (c) 2014-2016 Cesanta Software Limited
* All rights reserved * All rights reserved
...@@ -494,6 +521,7 @@ int inet_pton(int af, const char *src, void *dst); ...@@ -494,6 +521,7 @@ int inet_pton(int af, const char *src, void *dst);
#define MG_DISABLE_DIRECTORY_LISTING 1 #define MG_DISABLE_DIRECTORY_LISTING 1
#endif #endif
/* Amalgamated: #include "common/platforms/simplelink/cs_simplelink.h" */
typedef int sock_t; typedef int sock_t;
#define INVALID_SOCKET (-1) #define INVALID_SOCKET (-1)
...@@ -587,6 +615,9 @@ struct dirent *readdir(DIR *dir); ...@@ -587,6 +615,9 @@ struct dirent *readdir(DIR *dir);
#endif /* CS_PLATFORM == CS_P_CC3200 */ #endif /* CS_PLATFORM == CS_P_CC3200 */
#endif /* CS_COMMON_PLATFORMS_PLATFORM_CC3200_H_ */ #endif /* CS_COMMON_PLATFORMS_PLATFORM_CC3200_H_ */
#ifdef MG_MODULE_LINES
#line 1 "common/platforms/platform_msp432.h"
#endif
/* /*
* Copyright (c) 2014-2016 Cesanta Software Limited * Copyright (c) 2014-2016 Cesanta Software Limited
* All rights reserved * All rights reserved
...@@ -617,6 +648,7 @@ struct dirent *readdir(DIR *dir); ...@@ -617,6 +648,7 @@ struct dirent *readdir(DIR *dir);
#define MG_DISABLE_DAV 1 #define MG_DISABLE_DAV 1
#define MG_DISABLE_DIRECTORY_LISTING 1 #define MG_DISABLE_DIRECTORY_LISTING 1
/* Amalgamated: #include "common/platforms/simplelink/cs_simplelink.h" */
typedef int sock_t; typedef int sock_t;
#define INVALID_SOCKET (-1) #define INVALID_SOCKET (-1)
...@@ -687,6 +719,9 @@ int _stat(const char *pathname, struct stat *st); ...@@ -687,6 +719,9 @@ int _stat(const char *pathname, struct stat *st);
#endif /* CS_PLATFORM == CS_P_MSP432 */ #endif /* CS_PLATFORM == CS_P_MSP432 */
#endif /* CS_COMMON_PLATFORMS_PLATFORM_MSP432_H_ */ #endif /* CS_COMMON_PLATFORMS_PLATFORM_MSP432_H_ */
#ifdef MG_MODULE_LINES
#line 1 "common/platforms/simplelink/cs_simplelink.h"
#endif
/* /*
* Copyright (c) 2014-2016 Cesanta Software Limited * Copyright (c) 2014-2016 Cesanta Software Limited
* All rights reserved * All rights reserved
...@@ -790,6 +825,9 @@ int sl_set_ssl_opts(struct mg_connection *nc); ...@@ -790,6 +825,9 @@ int sl_set_ssl_opts(struct mg_connection *nc);
#endif /* defined(MG_SOCKET_SIMPLELINK) && !defined(__SIMPLELINK_H__) */ #endif /* defined(MG_SOCKET_SIMPLELINK) && !defined(__SIMPLELINK_H__) */
#endif /* CS_COMMON_PLATFORMS_SIMPLELINK_CS_SIMPLELINK_H_ */ #endif /* CS_COMMON_PLATFORMS_SIMPLELINK_CS_SIMPLELINK_H_ */
#ifdef MG_MODULE_LINES
#line 1 "common/cs_time.h"
#endif
/* /*
* Copyright (c) 2014-2016 Cesanta Software Limited * Copyright (c) 2014-2016 Cesanta Software Limited
* All rights reserved * All rights reserved
...@@ -810,6 +848,9 @@ double cs_time(void); ...@@ -810,6 +848,9 @@ double cs_time(void);
#endif /* __cplusplus */ #endif /* __cplusplus */
#endif /* CS_COMMON_CS_TIME_H_ */ #endif /* CS_COMMON_CS_TIME_H_ */
#ifdef MG_MODULE_LINES
#line 1 "common/mg_str.h"
#endif
/* /*
* Copyright (c) 2014-2016 Cesanta Software Limited * Copyright (c) 2014-2016 Cesanta Software Limited
* All rights reserved * All rights reserved
...@@ -861,6 +902,9 @@ int mg_strcmp(const struct mg_str str1, const struct mg_str str2); ...@@ -861,6 +902,9 @@ int mg_strcmp(const struct mg_str str1, const struct mg_str str2);
#endif /* __cplusplus */ #endif /* __cplusplus */
#endif /* CS_COMMON_MG_STR_H_ */ #endif /* CS_COMMON_MG_STR_H_ */
#ifdef MG_MODULE_LINES
#line 1 "common/mbuf.h"
#endif
/* /*
* Copyright (c) 2015 Cesanta Software Limited * Copyright (c) 2015 Cesanta Software Limited
* All rights reserved * All rights reserved
...@@ -939,6 +983,9 @@ void mbuf_trim(struct mbuf *); ...@@ -939,6 +983,9 @@ void mbuf_trim(struct mbuf *);
#endif /* __cplusplus */ #endif /* __cplusplus */
#endif /* CS_COMMON_MBUF_H_ */ #endif /* CS_COMMON_MBUF_H_ */
#ifdef MG_MODULE_LINES
#line 1 "common/sha1.h"
#endif
/* /*
* Copyright (c) 2014 Cesanta Software Limited * Copyright (c) 2014 Cesanta Software Limited
* All rights reserved * All rights reserved
...@@ -949,6 +996,7 @@ void mbuf_trim(struct mbuf *); ...@@ -949,6 +996,7 @@ void mbuf_trim(struct mbuf *);
#ifndef DISABLE_SHA1 #ifndef DISABLE_SHA1
/* Amalgamated: #include "common/platform.h" */
#ifdef __cplusplus #ifdef __cplusplus
extern "C" { extern "C" {
...@@ -973,6 +1021,9 @@ void cs_hmac_sha1(const unsigned char *key, size_t key_len, ...@@ -973,6 +1021,9 @@ void cs_hmac_sha1(const unsigned char *key, size_t key_len,
#endif /* DISABLE_SHA1 */ #endif /* DISABLE_SHA1 */
#endif /* CS_COMMON_SHA1_H_ */ #endif /* CS_COMMON_SHA1_H_ */
#ifdef MG_MODULE_LINES
#line 1 "common/md5.h"
#endif
/* /*
* Copyright (c) 2014 Cesanta Software Limited * Copyright (c) 2014 Cesanta Software Limited
* All rights reserved * All rights reserved
...@@ -981,6 +1032,7 @@ void cs_hmac_sha1(const unsigned char *key, size_t key_len, ...@@ -981,6 +1032,7 @@ void cs_hmac_sha1(const unsigned char *key, size_t key_len,
#ifndef CS_COMMON_MD5_H_ #ifndef CS_COMMON_MD5_H_
#define CS_COMMON_MD5_H_ #define CS_COMMON_MD5_H_
/* Amalgamated: #include "common/platform.h" */
#ifdef __cplusplus #ifdef __cplusplus
extern "C" { extern "C" {
...@@ -1018,6 +1070,9 @@ void cs_to_hex(char *to, const unsigned char *p, size_t len); ...@@ -1018,6 +1070,9 @@ void cs_to_hex(char *to, const unsigned char *p, size_t len);
#endif /* __cplusplus */ #endif /* __cplusplus */
#endif /* CS_COMMON_MD5_H_ */ #endif /* CS_COMMON_MD5_H_ */
#ifdef MG_MODULE_LINES
#line 1 "common/base64.h"
#endif
/* /*
* Copyright (c) 2014 Cesanta Software Limited * Copyright (c) 2014 Cesanta Software Limited
* All rights reserved * All rights reserved
...@@ -1060,6 +1115,9 @@ int cs_base64_decode(const unsigned char *s, int len, char *dst); ...@@ -1060,6 +1115,9 @@ int cs_base64_decode(const unsigned char *s, int len, char *dst);
#endif /* DISABLE_BASE64 */ #endif /* DISABLE_BASE64 */
#endif /* CS_COMMON_BASE64_H_ */ #endif /* CS_COMMON_BASE64_H_ */
#ifdef MG_MODULE_LINES
#line 1 "common/str_util.h"
#endif
/* /*
* Copyright (c) 2015 Cesanta Software Limited * Copyright (c) 2015 Cesanta Software Limited
* All rights reserved * All rights reserved
...@@ -1089,6 +1147,9 @@ const char *c_strnstr(const char *s, const char *find, size_t slen); ...@@ -1089,6 +1147,9 @@ const char *c_strnstr(const char *s, const char *find, size_t slen);
#endif #endif
#endif /* CS_COMMON_STR_UTIL_H_ */ #endif /* CS_COMMON_STR_UTIL_H_ */
#ifdef MG_MODULE_LINES
#line 1 "mongoose/src/net.h"
#endif
/* /*
* Copyright (c) 2014 Cesanta Software Limited * Copyright (c) 2014 Cesanta Software Limited
* All rights reserved * All rights reserved
...@@ -1124,6 +1185,8 @@ const char *c_strnstr(const char *s, const char *find, size_t slen); ...@@ -1124,6 +1185,8 @@ const char *c_strnstr(const char *s, const char *find, size_t slen);
#include <v7.h> #include <v7.h>
#endif #endif
/* Amalgamated: #include "mongoose/src/common.h" */
/* Amalgamated: #include "common/mbuf.h" */
#ifdef MG_ENABLE_SSL #ifdef MG_ENABLE_SSL
#ifdef __APPLE__ #ifdef __APPLE__
...@@ -1637,6 +1700,9 @@ double mg_time(void); ...@@ -1637,6 +1700,9 @@ double mg_time(void);
#endif /* __cplusplus */ #endif /* __cplusplus */
#endif /* CS_MONGOOSE_SRC_NET_H_ */ #endif /* CS_MONGOOSE_SRC_NET_H_ */
#ifdef MG_MODULE_LINES
#line 1 "mongoose/src/net_if.h"
#endif
/* /*
* Copyright (c) 2014-2016 Cesanta Software Limited * Copyright (c) 2014-2016 Cesanta Software Limited
* All rights reserved * All rights reserved
...@@ -1725,6 +1791,9 @@ void mg_sock_set(struct mg_connection *nc, sock_t sock); ...@@ -1725,6 +1791,9 @@ void mg_sock_set(struct mg_connection *nc, sock_t sock);
#endif /* __cplusplus */ #endif /* __cplusplus */
#endif /* CS_MONGOOSE_SRC_NET_IF_H_ */ #endif /* CS_MONGOOSE_SRC_NET_IF_H_ */
#ifdef MG_MODULE_LINES
#line 1 "mongoose/src/uri.h"
#endif
/* /*
* Copyright (c) 2014 Cesanta Software Limited * Copyright (c) 2014 Cesanta Software Limited
* All rights reserved * All rights reserved
...@@ -1737,6 +1806,7 @@ void mg_sock_set(struct mg_connection *nc, sock_t sock); ...@@ -1737,6 +1806,7 @@ void mg_sock_set(struct mg_connection *nc, sock_t sock);
#ifndef CS_MONGOOSE_SRC_URI_H_ #ifndef CS_MONGOOSE_SRC_URI_H_
#define CS_MONGOOSE_SRC_URI_H_ #define CS_MONGOOSE_SRC_URI_H_
/* Amalgamated: #include "mongoose/src/net.h" */
#ifdef __cplusplus #ifdef __cplusplus
extern "C" { extern "C" {
...@@ -1776,6 +1846,9 @@ int mg_normalize_uri_path(const struct mg_str *in, struct mg_str *out); ...@@ -1776,6 +1846,9 @@ int mg_normalize_uri_path(const struct mg_str *in, struct mg_str *out);
} }
#endif /* __cplusplus */ #endif /* __cplusplus */
#endif /* CS_MONGOOSE_SRC_URI_H_ */ #endif /* CS_MONGOOSE_SRC_URI_H_ */
#ifdef MG_MODULE_LINES
#line 1 "mongoose/src/util.h"
#endif
/* /*
* Copyright (c) 2014 Cesanta Software Limited * Copyright (c) 2014 Cesanta Software Limited
* All rights reserved * All rights reserved
...@@ -1790,6 +1863,8 @@ int mg_normalize_uri_path(const struct mg_str *in, struct mg_str *out); ...@@ -1790,6 +1863,8 @@ int mg_normalize_uri_path(const struct mg_str *in, struct mg_str *out);
#include <stdio.h> #include <stdio.h>
/* Amalgamated: #include "mongoose/src/common.h" */
/* Amalgamated: #include "mongoose/src/net_if.h" */
#ifdef __cplusplus #ifdef __cplusplus
extern "C" { extern "C" {
...@@ -1986,6 +2061,9 @@ int mg_match_prefix_n(const struct mg_str pattern, const struct mg_str str); ...@@ -1986,6 +2061,9 @@ int mg_match_prefix_n(const struct mg_str pattern, const struct mg_str str);
} }
#endif /* __cplusplus */ #endif /* __cplusplus */
#endif /* CS_MONGOOSE_SRC_UTIL_H_ */ #endif /* CS_MONGOOSE_SRC_UTIL_H_ */
#ifdef MG_MODULE_LINES
#line 1 "mongoose/src/http.h"
#endif
/* /*
* Copyright (c) 2014 Cesanta Software Limited * Copyright (c) 2014 Cesanta Software Limited
* All rights reserved * All rights reserved
...@@ -1998,6 +2076,7 @@ int mg_match_prefix_n(const struct mg_str pattern, const struct mg_str str); ...@@ -1998,6 +2076,7 @@ int mg_match_prefix_n(const struct mg_str pattern, const struct mg_str str);
#ifndef CS_MONGOOSE_SRC_HTTP_H_ #ifndef CS_MONGOOSE_SRC_HTTP_H_
#define CS_MONGOOSE_SRC_HTTP_H_ #define CS_MONGOOSE_SRC_HTTP_H_
/* Amalgamated: #include "mongoose/src/net.h" */
#ifdef __cplusplus #ifdef __cplusplus
extern "C" { extern "C" {
...@@ -2299,6 +2378,9 @@ int mg_url_decode(const char *src, int src_len, char *dst, int dst_len, ...@@ -2299,6 +2378,9 @@ int mg_url_decode(const char *src, int src_len, char *dst, int dst_len,
} }
#endif /* __cplusplus */ #endif /* __cplusplus */
#endif /* CS_MONGOOSE_SRC_HTTP_H_ */ #endif /* CS_MONGOOSE_SRC_HTTP_H_ */
#ifdef MG_MODULE_LINES
#line 1 "mongoose/src/http_server.h"
#endif
/* /*
* === Server API reference * === Server API reference
*/ */
...@@ -2747,6 +2829,9 @@ void mg_printf_html_escape(struct mg_connection *nc, const char *fmt, ...); ...@@ -2747,6 +2829,9 @@ void mg_printf_html_escape(struct mg_connection *nc, const char *fmt, ...);
} }
#endif /* __cplusplus */ #endif /* __cplusplus */
#endif /* CS_MONGOOSE_SRC_HTTP_SERVER_H_ */ #endif /* CS_MONGOOSE_SRC_HTTP_SERVER_H_ */
#ifdef MG_MODULE_LINES
#line 1 "mongoose/src/http_client.h"
#endif
/* /*
* === Client API reference * === Client API reference
*/ */
...@@ -2812,6 +2897,9 @@ int mg_http_create_digest_auth_header(char *buf, size_t buf_len, ...@@ -2812,6 +2897,9 @@ int mg_http_create_digest_auth_header(char *buf, size_t buf_len,
} }
#endif /* __cplusplus */ #endif /* __cplusplus */
#endif /* CS_MONGOOSE_SRC_HTTP_CLIENT_H_ */ #endif /* CS_MONGOOSE_SRC_HTTP_CLIENT_H_ */
#ifdef MG_MODULE_LINES
#line 1 "mongoose/src/mqtt.h"
#endif
/* /*
* Copyright (c) 2014 Cesanta Software Limited * Copyright (c) 2014 Cesanta Software Limited
* All rights reserved * All rights reserved
...@@ -2836,6 +2924,7 @@ int mg_http_create_digest_auth_header(char *buf, size_t buf_len, ...@@ -2836,6 +2924,7 @@ int mg_http_create_digest_auth_header(char *buf, size_t buf_len,
#ifndef CS_MONGOOSE_SRC_MQTT_H_ #ifndef CS_MONGOOSE_SRC_MQTT_H_
#define CS_MONGOOSE_SRC_MQTT_H_ #define CS_MONGOOSE_SRC_MQTT_H_
/* Amalgamated: #include "mongoose/src/net.h" */
struct mg_mqtt_message { struct mg_mqtt_message {
int cmd; int cmd;
...@@ -3007,6 +3096,9 @@ int mg_mqtt_next_subscribe_topic(struct mg_mqtt_message *msg, ...@@ -3007,6 +3096,9 @@ int mg_mqtt_next_subscribe_topic(struct mg_mqtt_message *msg,
#endif /* __cplusplus */ #endif /* __cplusplus */
#endif /* CS_MONGOOSE_SRC_MQTT_H_ */ #endif /* CS_MONGOOSE_SRC_MQTT_H_ */
#ifdef MG_MODULE_LINES
#line 1 "mongoose/src/mqtt_server.h"
#endif
/* /*
* Copyright (c) 2014 Cesanta Software Limited * Copyright (c) 2014 Cesanta Software Limited
* All rights reserved * All rights reserved
...@@ -3033,6 +3125,7 @@ int mg_mqtt_next_subscribe_topic(struct mg_mqtt_message *msg, ...@@ -3033,6 +3125,7 @@ int mg_mqtt_next_subscribe_topic(struct mg_mqtt_message *msg,
#ifdef MG_ENABLE_MQTT_BROKER #ifdef MG_ENABLE_MQTT_BROKER
/* Amalgamated: #include "mongoose/src/mqtt.h" */
#ifdef __cplusplus #ifdef __cplusplus
extern "C" { extern "C" {
...@@ -3107,6 +3200,9 @@ struct mg_mqtt_session *mg_mqtt_next(struct mg_mqtt_broker *brk, ...@@ -3107,6 +3200,9 @@ struct mg_mqtt_session *mg_mqtt_next(struct mg_mqtt_broker *brk,
#endif /* MG_ENABLE_MQTT_BROKER */ #endif /* MG_ENABLE_MQTT_BROKER */
#endif /* CS_MONGOOSE_SRC_MQTT_BROKER_H_ */ #endif /* CS_MONGOOSE_SRC_MQTT_BROKER_H_ */
#ifdef MG_MODULE_LINES
#line 1 "mongoose/src/dns.h"
#endif
/* /*
* Copyright (c) 2014 Cesanta Software Limited * Copyright (c) 2014 Cesanta Software Limited
* All rights reserved * All rights reserved
...@@ -3119,6 +3215,7 @@ struct mg_mqtt_session *mg_mqtt_next(struct mg_mqtt_broker *brk, ...@@ -3119,6 +3215,7 @@ struct mg_mqtt_session *mg_mqtt_next(struct mg_mqtt_broker *brk,
#ifndef CS_MONGOOSE_SRC_DNS_H_ #ifndef CS_MONGOOSE_SRC_DNS_H_
#define CS_MONGOOSE_SRC_DNS_H_ #define CS_MONGOOSE_SRC_DNS_H_
/* Amalgamated: #include "mongoose/src/net.h" */
#ifdef __cplusplus #ifdef __cplusplus
extern "C" { extern "C" {
...@@ -3260,6 +3357,9 @@ void mg_set_protocol_dns(struct mg_connection *nc); ...@@ -3260,6 +3357,9 @@ void mg_set_protocol_dns(struct mg_connection *nc);
} }
#endif /* __cplusplus */ #endif /* __cplusplus */
#endif /* CS_MONGOOSE_SRC_DNS_H_ */ #endif /* CS_MONGOOSE_SRC_DNS_H_ */
#ifdef MG_MODULE_LINES
#line 1 "mongoose/src/dns_server.h"
#endif
/* /*
* Copyright (c) 2014 Cesanta Software Limited * Copyright (c) 2014 Cesanta Software Limited
* All rights reserved * All rights reserved
...@@ -3276,6 +3376,7 @@ void mg_set_protocol_dns(struct mg_connection *nc); ...@@ -3276,6 +3376,7 @@ void mg_set_protocol_dns(struct mg_connection *nc);
#ifdef MG_ENABLE_DNS_SERVER #ifdef MG_ENABLE_DNS_SERVER
/* Amalgamated: #include "mongoose/src/dns.h" */
#ifdef __cplusplus #ifdef __cplusplus
extern "C" { extern "C" {
...@@ -3353,6 +3454,9 @@ void mg_dns_send_reply(struct mg_connection *nc, struct mg_dns_reply *r); ...@@ -3353,6 +3454,9 @@ void mg_dns_send_reply(struct mg_connection *nc, struct mg_dns_reply *r);
#endif /* MG_ENABLE_DNS_SERVER */ #endif /* MG_ENABLE_DNS_SERVER */
#endif /* CS_MONGOOSE_SRC_DNS_SERVER_H_ */ #endif /* CS_MONGOOSE_SRC_DNS_SERVER_H_ */
#ifdef MG_MODULE_LINES
#line 1 "mongoose/src/resolv.h"
#endif
/* /*
* Copyright (c) 2014 Cesanta Software Limited * Copyright (c) 2014 Cesanta Software Limited
* All rights reserved * All rights reserved
...@@ -3365,6 +3469,7 @@ void mg_dns_send_reply(struct mg_connection *nc, struct mg_dns_reply *r); ...@@ -3365,6 +3469,7 @@ void mg_dns_send_reply(struct mg_connection *nc, struct mg_dns_reply *r);
#ifndef CS_MONGOOSE_SRC_RESOLV_H_ #ifndef CS_MONGOOSE_SRC_RESOLV_H_
#define CS_MONGOOSE_SRC_RESOLV_H_ #define CS_MONGOOSE_SRC_RESOLV_H_
/* Amalgamated: #include "mongoose/src/dns.h" */
#ifdef __cplusplus #ifdef __cplusplus
extern "C" { extern "C" {
...@@ -3430,6 +3535,9 @@ int mg_resolve_from_hosts_file(const char *host, union socket_address *usa); ...@@ -3430,6 +3535,9 @@ int mg_resolve_from_hosts_file(const char *host, union socket_address *usa);
} }
#endif /* __cplusplus */ #endif /* __cplusplus */
#endif /* CS_MONGOOSE_SRC_RESOLV_H_ */ #endif /* CS_MONGOOSE_SRC_RESOLV_H_ */
#ifdef MG_MODULE_LINES
#line 1 "mongoose/src/coap.h"
#endif
/* /*
* Copyright (c) 2015 Cesanta Software Limited * Copyright (c) 2015 Cesanta Software Limited
* All rights reserved * All rights reserved
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment