Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
P
paho.mqtt.c
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
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
eclipse
paho.mqtt.c
Commits
c67fff6c
Commit
c67fff6c
authored
Jan 24, 2013
by
Ian Craggs
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix compile warnings
parent
14841160
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
17 additions
and
9 deletions
+17
-9
MQTTAsync.h
src/MQTTAsync.h
+1
-1
MQTTClient.h
src/MQTTClient.h
+1
-1
SSLSocket.c
src/SSLSocket.c
+6
-7
Socket.h
src/Socket.h
+9
-0
No files found.
src/MQTTAsync.h
View file @
c67fff6c
...
@@ -15,7 +15,7 @@
...
@@ -15,7 +15,7 @@
/**
/**
* @mainpage Asynchronous MQTT client library for C
* @mainpage Asynchronous MQTT client library for C
* © Copyright IBM Corp. 2009, 2013
* © Copyright IBM Corp. 2009, 2013
and made available under the EPL v1.0
*
*
* @brief An Asynchronous MQTT client library for C.
* @brief An Asynchronous MQTT client library for C.
*
*
...
...
src/MQTTClient.h
View file @
c67fff6c
...
@@ -13,7 +13,7 @@
...
@@ -13,7 +13,7 @@
/**
/**
* @mainpage MQTT Client library for C
* @mainpage MQTT Client library for C
* © Copyright IBM Corp. 2009, 2013
* © Copyright IBM Corp. 2009, 2013
and made available under the EPL v1.0
*
*
* @brief An MQTT client library in C.
* @brief An MQTT client library in C.
*
*
...
...
src/SSLSocket.c
View file @
c67fff6c
...
@@ -18,19 +18,18 @@
...
@@ -18,19 +18,18 @@
#if defined(OPENSSL)
#if defined(OPENSSL)
#include "SocketBuffer.h"
#include "MQTTClient.h"
#include <openssl/err.h>
#include "Socket.h"
#include "SSLSocket.h"
#include "SSLSocket.h"
#include "SocketBuffer.h"
#include "Log.h"
#include "Log.h"
#include "StackTrace.h"
#include "StackTrace.h"
#include "Socket.h"
#include "Heap.h"
#include "Heap.h"
#include <openssl/ssl.h>
#include <openssl/err.h>
#include <openssl/crypto.h>
extern
Sockets
s
;
extern
Sockets
s
;
void
SSLSocket_addPendingRead
(
int
sock
);
void
SSLSocket_addPendingRead
(
int
sock
);
...
...
src/Socket.h
View file @
c67fff6c
...
@@ -20,6 +20,15 @@
...
@@ -20,6 +20,15 @@
#include <winsock2.h>
#include <winsock2.h>
#include <ws2tcpip.h>
#include <ws2tcpip.h>
#define MAXHOSTNAMELEN 256
#define MAXHOSTNAMELEN 256
/* undefine TCP constants which are defined (differently) in <openssl/err.h> */
#undef EAGAIN
#undef EINTR
#undef EINPROGRESS
#undef EWOULDBLOCK
#undef ENOTCONN
#undef ECONNRESET
#define EAGAIN WSAEWOULDBLOCK
#define EAGAIN WSAEWOULDBLOCK
#define EINTR WSAEINTR
#define EINTR WSAEINTR
#define EINPROGRESS WSAEINPROGRESS
#define EINPROGRESS WSAEINPROGRESS
...
...
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