Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
M
mongoose
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
esp
mongoose
Commits
02499d67
Commit
02499d67
authored
Dec 15, 2016
by
Alexander Alashkin
Committed by
Cesanta Bot
Dec 15, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Build c_mqtt/stm32 - part 1, with stubs
PUBLISHED_FROM=de4b9f3e9eeafa75bb8919abacd86fb23fdefc1b
parent
8c2e641e
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
0 deletions
+7
-0
mongoose.c
mongoose.c
+2
-0
mongoose.h
mongoose.h
+5
-0
No files found.
mongoose.c
View file @
02499d67
...
...
@@ -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_
#define CS_COMMON_CS_DIRENT_H_
/* Amalgamated: #include "common/platform.h" */
#ifdef __cplusplus
extern
"C"
{
#endif
/* __cplusplus */
...
...
mongoose.h
View file @
02499d67
...
...
@@ -933,9 +933,12 @@ typedef struct stat cs_stat_t;
#include <string.h>
#include <time.h>
#include <sys/stat.h>
#include <sys/types.h>
#include <fcntl.h>
#include <stdio.h>
typedef
struct
stat
cs_stat_t
;
#define DIRSEP '/'
#ifndef CS_ENABLE_STDIO
#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
);
char
*
inet_ntoa
(
struct
in_addr
in
);
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 */
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment