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
b9587b54
Commit
b9587b54
authored
Mar 28, 2017
by
Ian Craggs
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add applink.c to windows TLS test program
parent
1feefab9
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
13 deletions
+8
-13
test5.c
test/test5.c
+8
-13
No files found.
test/test5.c
View file @
b9587b54
/*******************************************************************************
/*******************************************************************************
* Copyright (c) 2012, 201
4
IBM Corp.
* Copyright (c) 2012, 201
7
IBM Corp.
*
*
* All rights reserved. This program and the accompanying materials
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* are made available under the terms of the Eclipse Public License v1.0
...
@@ -12,34 +12,29 @@
...
@@ -12,34 +12,29 @@
*
*
* Contributors:
* Contributors:
* Allan Stockdill-Mander - initial API and implementation and/or initial documentation
* Allan Stockdill-Mander - initial API and implementation and/or initial documentation
* Ian Craggs - fix Windows includes
*******************************************************************************/
*******************************************************************************/
/**
/**
* @file
* @file
* SSL tests for the MQ Telemetry Asynchronous MQTT C client
* SSL tests for the MQ Telemetry Asynchronous MQTT C client
*/
*/
/*
#if !defined(_RTSHEADER)
#include <rts.h>
#endif
*/
#include "MQTTAsync.h"
#include "MQTTAsync.h"
#include <string.h>
#include <string.h>
#include <stdlib.h>
#include <stdlib.h>
#include "Thread.h"
#include "Thread.h"
#if !defined(_WINDOWS)
#if defined(_WINDOWS)
#include <windows.h>
#include <openssl/applink.c>
#define MAXHOSTNAMELEN 256
#define snprintf _snprintf
#else
#include <sys/time.h>
#include <sys/time.h>
#include <sys/socket.h>
#include <sys/socket.h>
#include <unistd.h>
#include <unistd.h>
#include <errno.h>
#include <errno.h>
#else
#include <windows.h>
#define MAXHOSTNAMELEN 256
#define snprintf _snprintf
#endif
#endif
#define ARRAY_SIZE(a) (sizeof(a) / sizeof(a[0]))
#define ARRAY_SIZE(a) (sizeof(a) / sizeof(a[0]))
...
...
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