mirror of
https://github.com/cesanta/mongoose.git
synced 2026-12-04 21:58:22 +00:00
Add mg_ prefix to mongoose sources
CL: none PUBLISHED_FROM=d6ebe5fa88c61ae3b8569897d9b09d54610bec73
This commit is contained in:
1 parent
f29457e967
commit
aba60dadec
214 files changed
+179
-3304
No files matched your search
+29
-29
@@ -1,5 +1,5 @@
|
||||
#ifdef MG_MODULE_LINES
|
||||
#line 1 "mongoose/src/common.h"
|
||||
#line 1 "mongoose/src/mg_common.h"
|
||||
#endif
|
||||
/*
|
||||
* Copyright (c) 2004-2013 Sergey Lyubka
|
||||
@@ -3000,7 +3000,7 @@ struct { \
|
||||
|
||||
#endif /* !_SYS_QUEUE_H_ */
|
||||
#ifdef MG_MODULE_LINES
|
||||
#line 1 "mongoose/src/features.h"
|
||||
#line 1 "mongoose/src/mg_features.h"
|
||||
#endif
|
||||
/*
|
||||
* Copyright (c) 2014-2016 Cesanta Software Limited
|
||||
@@ -3179,7 +3179,7 @@ struct { \
|
||||
|
||||
#endif /* CS_MONGOOSE_SRC_FEATURES_H_ */
|
||||
#ifdef MG_MODULE_LINES
|
||||
#line 1 "mongoose/src/net_if.h"
|
||||
#line 1 "mongoose/src/mg_net_if.h"
|
||||
#endif
|
||||
/*
|
||||
* Copyright (c) 2014-2016 Cesanta Software Limited
|
||||
@@ -3312,7 +3312,7 @@ void mg_if_timer(struct mg_connection *c, double now);
|
||||
|
||||
#endif /* CS_MONGOOSE_SRC_NET_IF_H_ */
|
||||
#ifdef MG_MODULE_LINES
|
||||
#line 1 "mongoose/src/ssl_if.h"
|
||||
#line 1 "mongoose/src/mg_ssl_if.h"
|
||||
#endif
|
||||
/*
|
||||
* Copyright (c) 2014-2016 Cesanta Software Limited
|
||||
@@ -3370,7 +3370,7 @@ int mg_ssl_if_write(struct mg_connection *nc, const void *data, size_t len);
|
||||
|
||||
#endif /* CS_MONGOOSE_SRC_SSL_IF_H_ */
|
||||
#ifdef MG_MODULE_LINES
|
||||
#line 1 "mongoose/src/net.h"
|
||||
#line 1 "mongoose/src/mg_net.h"
|
||||
#endif
|
||||
/*
|
||||
* Copyright (c) 2014 Cesanta Software Limited
|
||||
@@ -3402,8 +3402,8 @@ int mg_ssl_if_write(struct mg_connection *nc, const void *data, size_t len);
|
||||
#ifndef CS_MONGOOSE_SRC_NET_H_
|
||||
#define CS_MONGOOSE_SRC_NET_H_
|
||||
|
||||
/* Amalgamated: #include "mongoose/src/common.h" */
|
||||
/* Amalgamated: #include "mongoose/src/net_if.h" */
|
||||
/* Amalgamated: #include "mongoose/src/mg_common.h" */
|
||||
/* Amalgamated: #include "mongoose/src/mg_net_if.h" */
|
||||
/* Amalgamated: #include "common/mbuf.h" */
|
||||
|
||||
#ifndef MG_VPRINTF_BUFFER_SIZE
|
||||
@@ -3964,7 +3964,7 @@ double mg_time(void);
|
||||
|
||||
#endif /* CS_MONGOOSE_SRC_NET_H_ */
|
||||
#ifdef MG_MODULE_LINES
|
||||
#line 1 "mongoose/src/uri.h"
|
||||
#line 1 "mongoose/src/mg_uri.h"
|
||||
#endif
|
||||
/*
|
||||
* Copyright (c) 2014 Cesanta Software Limited
|
||||
@@ -3978,7 +3978,7 @@ double mg_time(void);
|
||||
#ifndef CS_MONGOOSE_SRC_URI_H_
|
||||
#define CS_MONGOOSE_SRC_URI_H_
|
||||
|
||||
/* Amalgamated: #include "mongoose/src/net.h" */
|
||||
/* Amalgamated: #include "mongoose/src/mg_net.h" */
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
@@ -4034,7 +4034,7 @@ int mg_normalize_uri_path(const struct mg_str *in, struct mg_str *out);
|
||||
#endif /* __cplusplus */
|
||||
#endif /* CS_MONGOOSE_SRC_URI_H_ */
|
||||
#ifdef MG_MODULE_LINES
|
||||
#line 1 "mongoose/src/util.h"
|
||||
#line 1 "mongoose/src/mg_util.h"
|
||||
#endif
|
||||
/*
|
||||
* Copyright (c) 2014 Cesanta Software Limited
|
||||
@@ -4050,8 +4050,8 @@ int mg_normalize_uri_path(const struct mg_str *in, struct mg_str *out);
|
||||
|
||||
#include <stdio.h>
|
||||
|
||||
/* Amalgamated: #include "mongoose/src/common.h" */
|
||||
/* Amalgamated: #include "mongoose/src/net_if.h" */
|
||||
/* Amalgamated: #include "mongoose/src/mg_common.h" */
|
||||
/* Amalgamated: #include "mongoose/src/mg_net_if.h" */
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
@@ -4245,7 +4245,7 @@ struct mg_str mg_url_encode(const struct mg_str src);
|
||||
#endif /* __cplusplus */
|
||||
#endif /* CS_MONGOOSE_SRC_UTIL_H_ */
|
||||
#ifdef MG_MODULE_LINES
|
||||
#line 1 "mongoose/src/http.h"
|
||||
#line 1 "mongoose/src/mg_http.h"
|
||||
#endif
|
||||
/*
|
||||
* Copyright (c) 2014 Cesanta Software Limited
|
||||
@@ -4261,7 +4261,7 @@ struct mg_str mg_url_encode(const struct mg_str src);
|
||||
|
||||
#if MG_ENABLE_HTTP
|
||||
|
||||
/* Amalgamated: #include "mongoose/src/net.h" */
|
||||
/* Amalgamated: #include "mongoose/src/mg_net.h" */
|
||||
/* Amalgamated: #include "common/mg_str.h" */
|
||||
|
||||
#ifdef __cplusplus
|
||||
@@ -4612,7 +4612,7 @@ void mg_http_send_digest_auth_request(struct mg_connection *c,
|
||||
|
||||
#endif /* CS_MONGOOSE_SRC_HTTP_H_ */
|
||||
#ifdef MG_MODULE_LINES
|
||||
#line 1 "mongoose/src/http_server.h"
|
||||
#line 1 "mongoose/src/mg_http_server.h"
|
||||
#endif
|
||||
/*
|
||||
* === Server API reference
|
||||
@@ -5155,7 +5155,7 @@ void mg_http_reverse_proxy(struct mg_connection *nc,
|
||||
|
||||
#endif /* CS_MONGOOSE_SRC_HTTP_SERVER_H_ */
|
||||
#ifdef MG_MODULE_LINES
|
||||
#line 1 "mongoose/src/http_client.h"
|
||||
#line 1 "mongoose/src/mg_http_client.h"
|
||||
#endif
|
||||
/*
|
||||
* === Client API reference
|
||||
@@ -5220,7 +5220,7 @@ int mg_http_create_digest_auth_header(char *buf, size_t buf_len,
|
||||
#endif /* __cplusplus */
|
||||
#endif /* CS_MONGOOSE_SRC_HTTP_CLIENT_H_ */
|
||||
#ifdef MG_MODULE_LINES
|
||||
#line 1 "mongoose/src/mqtt.h"
|
||||
#line 1 "mongoose/src/mg_mqtt.h"
|
||||
#endif
|
||||
/*
|
||||
* Copyright (c) 2014 Cesanta Software Limited
|
||||
@@ -5246,7 +5246,7 @@ int mg_http_create_digest_auth_header(char *buf, size_t buf_len,
|
||||
#ifndef CS_MONGOOSE_SRC_MQTT_H_
|
||||
#define CS_MONGOOSE_SRC_MQTT_H_
|
||||
|
||||
/* Amalgamated: #include "mongoose/src/net.h" */
|
||||
/* Amalgamated: #include "mongoose/src/mg_net.h" */
|
||||
|
||||
struct mg_mqtt_message {
|
||||
int cmd;
|
||||
@@ -5451,7 +5451,7 @@ int mg_mqtt_vmatch_topic_expression(const char *exp, struct mg_str topic);
|
||||
|
||||
#endif /* CS_MONGOOSE_SRC_MQTT_H_ */
|
||||
#ifdef MG_MODULE_LINES
|
||||
#line 1 "mongoose/src/mqtt_server.h"
|
||||
#line 1 "mongoose/src/mg_mqtt_server.h"
|
||||
#endif
|
||||
/*
|
||||
* Copyright (c) 2014 Cesanta Software Limited
|
||||
@@ -5480,7 +5480,7 @@ int mg_mqtt_vmatch_topic_expression(const char *exp, struct mg_str topic);
|
||||
#if MG_ENABLE_MQTT_BROKER
|
||||
|
||||
/* Amalgamated: #include "common/queue.h" */
|
||||
/* Amalgamated: #include "mongoose/src/mqtt.h" */
|
||||
/* Amalgamated: #include "mongoose/src/mg_mqtt.h" */
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
@@ -5558,7 +5558,7 @@ struct mg_mqtt_session *mg_mqtt_next(struct mg_mqtt_broker *brk,
|
||||
#endif /* MG_ENABLE_MQTT_BROKER */
|
||||
#endif /* CS_MONGOOSE_SRC_MQTT_BROKER_H_ */
|
||||
#ifdef MG_MODULE_LINES
|
||||
#line 1 "mongoose/src/dns.h"
|
||||
#line 1 "mongoose/src/mg_dns.h"
|
||||
#endif
|
||||
/*
|
||||
* Copyright (c) 2014 Cesanta Software Limited
|
||||
@@ -5572,7 +5572,7 @@ struct mg_mqtt_session *mg_mqtt_next(struct mg_mqtt_broker *brk,
|
||||
#ifndef CS_MONGOOSE_SRC_DNS_H_
|
||||
#define CS_MONGOOSE_SRC_DNS_H_
|
||||
|
||||
/* Amalgamated: #include "mongoose/src/net.h" */
|
||||
/* Amalgamated: #include "mongoose/src/mg_net.h" */
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
@@ -5725,7 +5725,7 @@ void mg_set_protocol_dns(struct mg_connection *nc);
|
||||
#endif /* __cplusplus */
|
||||
#endif /* CS_MONGOOSE_SRC_DNS_H_ */
|
||||
#ifdef MG_MODULE_LINES
|
||||
#line 1 "mongoose/src/dns_server.h"
|
||||
#line 1 "mongoose/src/mg_dns_server.h"
|
||||
#endif
|
||||
/*
|
||||
* Copyright (c) 2014 Cesanta Software Limited
|
||||
@@ -5743,7 +5743,7 @@ void mg_set_protocol_dns(struct mg_connection *nc);
|
||||
|
||||
#if MG_ENABLE_DNS_SERVER
|
||||
|
||||
/* Amalgamated: #include "mongoose/src/dns.h" */
|
||||
/* Amalgamated: #include "mongoose/src/mg_dns.h" */
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
@@ -5822,7 +5822,7 @@ void mg_dns_send_reply(struct mg_connection *nc, struct mg_dns_reply *r);
|
||||
#endif /* MG_ENABLE_DNS_SERVER */
|
||||
#endif /* CS_MONGOOSE_SRC_DNS_SERVER_H_ */
|
||||
#ifdef MG_MODULE_LINES
|
||||
#line 1 "mongoose/src/resolv.h"
|
||||
#line 1 "mongoose/src/mg_resolv.h"
|
||||
#endif
|
||||
/*
|
||||
* Copyright (c) 2014 Cesanta Software Limited
|
||||
@@ -5836,7 +5836,7 @@ void mg_dns_send_reply(struct mg_connection *nc, struct mg_dns_reply *r);
|
||||
#ifndef CS_MONGOOSE_SRC_RESOLV_H_
|
||||
#define CS_MONGOOSE_SRC_RESOLV_H_
|
||||
|
||||
/* Amalgamated: #include "mongoose/src/dns.h" */
|
||||
/* Amalgamated: #include "mongoose/src/mg_dns.h" */
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
@@ -5906,7 +5906,7 @@ int mg_resolve_from_hosts_file(const char *host, union socket_address *usa);
|
||||
#endif /* __cplusplus */
|
||||
#endif /* CS_MONGOOSE_SRC_RESOLV_H_ */
|
||||
#ifdef MG_MODULE_LINES
|
||||
#line 1 "mongoose/src/coap.h"
|
||||
#line 1 "mongoose/src/mg_coap.h"
|
||||
#endif
|
||||
/*
|
||||
* Copyright (c) 2015 Cesanta Software Limited
|
||||
@@ -6074,7 +6074,7 @@ uint32_t mg_coap_compose(struct mg_coap_message *cm, struct mbuf *io);
|
||||
|
||||
#endif /* CS_MONGOOSE_SRC_COAP_H_ */
|
||||
#ifdef MG_MODULE_LINES
|
||||
#line 1 "mongoose/src/sntp.h"
|
||||
#line 1 "mongoose/src/mg_sntp.h"
|
||||
#endif
|
||||
/*
|
||||
* Copyright (c) 2016 Cesanta Software Limited
|
||||
@@ -6131,7 +6131,7 @@ struct mg_connection *mg_sntp_get_time(struct mg_mgr *mgr,
|
||||
|
||||
#endif /* CS_MONGOOSE_SRC_SNTP_H_ */
|
||||
#ifdef MG_MODULE_LINES
|
||||
#line 1 "mongoose/src/socks.h"
|
||||
#line 1 "mongoose/src/mg_socks.h"
|
||||
#endif
|
||||
/*
|
||||
* Copyright (c) 2017 Cesanta Software Limited
|
||||
|
||||
Reference in new issue
Block a user