mirror of
https://github.com/cesanta/mongoose.git
synced 2026-11-10 16:31:44 +00:00
Build c_mqtt/stm32 - part 1, with stubs
PUBLISHED_FROM=de4b9f3e9eeafa75bb8919abacd86fb23fdefc1b
This commit is contained in:
1 parent
8c2e641ed7
commit
02499d672b
2 files changed
+7
No files matched your search
@@ -548,6 +548,8 @@ int cs_base64_decode(const unsigned char *s, int len, char *dst, int *dec_len) {
|
|||||||
#ifndef CS_COMMON_CS_DIRENT_H_
|
#ifndef CS_COMMON_CS_DIRENT_H_
|
||||||
#define CS_COMMON_CS_DIRENT_H_
|
#define CS_COMMON_CS_DIRENT_H_
|
||||||
|
|
||||||
|
/* Amalgamated: #include "common/platform.h" */
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
extern "C" {
|
extern "C" {
|
||||||
#endif /* __cplusplus */
|
#endif /* __cplusplus */
|
||||||
|
|||||||
@@ -933,9 +933,12 @@ typedef struct stat cs_stat_t;
|
|||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <time.h>
|
#include <time.h>
|
||||||
#include <sys/stat.h>
|
#include <sys/stat.h>
|
||||||
|
#include <sys/types.h>
|
||||||
|
#include <fcntl.h>
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
|
||||||
typedef struct stat cs_stat_t;
|
typedef struct stat cs_stat_t;
|
||||||
|
#define DIRSEP '/'
|
||||||
|
|
||||||
#ifndef CS_ENABLE_STDIO
|
#ifndef CS_ENABLE_STDIO
|
||||||
#define CS_ENABLE_STDIO 1
|
#define CS_ENABLE_STDIO 1
|
||||||
@@ -979,6 +982,8 @@ typedef int sock_t;
|
|||||||
const char *inet_ntop(int af, const void *src, char *dst, socklen_t size);
|
const char *inet_ntop(int af, const void *src, char *dst, socklen_t size);
|
||||||
char *inet_ntoa(struct in_addr in);
|
char *inet_ntoa(struct in_addr in);
|
||||||
int inet_pton(int af, const char *src, void *dst);
|
int inet_pton(int af, const char *src, void *dst);
|
||||||
|
int inet_aton(const char *cp, struct in_addr *inp);
|
||||||
|
in_addr_t inet_addr(const char *cp);
|
||||||
|
|
||||||
#endif /* MG_NET_IF == MG_NET_IF_SIMPLELINK */
|
#endif /* MG_NET_IF == MG_NET_IF_SIMPLELINK */
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user