Commit 7c30485c authored by Ian Craggs's avatar Ian Craggs

Update header commments for 3.1.1 updates

parent 28e3c018
/******************************************************************************* /*******************************************************************************
* Copyright (c) 2009, 2013 IBM Corp. * Copyright (c) 2009, 2014 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
...@@ -18,6 +18,7 @@ ...@@ -18,6 +18,7 @@
* Ian Craggs - fix for bug# 415042 - using already freed structure * Ian Craggs - fix for bug# 415042 - using already freed structure
* Ian Craggs - fix for bug 419233 - mutexes not reporting errors * Ian Craggs - fix for bug 419233 - mutexes not reporting errors
* Ian Craggs - fix for bug #420851 * Ian Craggs - fix for bug #420851
* Ian Craggs - MQTT 3.1.1 support
*******************************************************************************/ *******************************************************************************/
/** /**
...@@ -981,7 +982,6 @@ void MQTTAsync_processCommand() ...@@ -981,7 +982,6 @@ void MQTTAsync_processCommand()
command->command.details.conn.currentURI++; command->command.details.conn.currentURI++;
command->command.details.conn.MQTTVersion = 4; command->command.details.conn.MQTTVersion = 4;
} }
serverURI = command->command.details.conn.serverURIs[command->command.details.conn.currentURI]; serverURI = command->command.details.conn.serverURIs[command->command.details.conn.currentURI];
if (strncmp(URI_TCP, serverURI, strlen(URI_TCP)) == 0) if (strncmp(URI_TCP, serverURI, strlen(URI_TCP)) == 0)
......
/******************************************************************************* /*******************************************************************************
* Copyright (c) 2009, 2013 IBM Corp. * Copyright (c) 2009, 2014 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
...@@ -20,6 +20,7 @@ ...@@ -20,6 +20,7 @@
* Ian Craggs - fix for bug 421103 - trying to write to same socket, in publish/retries * Ian Craggs - fix for bug 421103 - trying to write to same socket, in publish/retries
* Ian Craggs - fix for bug 419233 - mutexes not reporting errors * Ian Craggs - fix for bug 419233 - mutexes not reporting errors
* Ian Craggs - fix for bug #420851 * Ian Craggs - fix for bug #420851
* Ian Craggs - MQTT 3.1.1 support
*******************************************************************************/ *******************************************************************************/
/** /**
...@@ -796,7 +797,7 @@ int MQTTClient_connectURIVersion(MQTTClient handle, MQTTClient_connectOptions* o ...@@ -796,7 +797,7 @@ int MQTTClient_connectURIVersion(MQTTClient handle, MQTTClient_connectOptions* o
rc = SOCKET_ERROR; rc = SOCKET_ERROR;
goto exit; goto exit;
} }
if(!m->c->cleansession && m->c->session == NULL) if (!m->c->cleansession && m->c->session == NULL)
m->c->session = SSL_get1_session(m->c->net.ssl); m->c->session = SSL_get1_session(m->c->net.ssl);
} }
} }
......
/******************************************************************************* /*******************************************************************************
* Copyright (c) 2009, 2013 IBM Corp. * Copyright (c) 2009, 2014 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
...@@ -13,6 +13,7 @@ ...@@ -13,6 +13,7 @@
* Contributors: * Contributors:
* Ian Craggs - initial API and implementation and/or initial documentation * Ian Craggs - initial API and implementation and/or initial documentation
* Ian Craggs, Allan Stockdill-Mander - SSL updates * Ian Craggs, Allan Stockdill-Mander - SSL updates
* Ian Craggs - MQTT 3.1.1 support
*******************************************************************************/ *******************************************************************************/
/** /**
......
/******************************************************************************* /*******************************************************************************
* Copyright (c) 2009, 2013 IBM Corp. * Copyright (c) 2009, 2014 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
...@@ -13,6 +13,7 @@ ...@@ -13,6 +13,7 @@
* Contributors: * Contributors:
* Ian Craggs - initial API and implementation and/or initial documentation * Ian Craggs - initial API and implementation and/or initial documentation
* Ian Craggs, Allan Stockdill-Mander - SSL updates * Ian Craggs, Allan Stockdill-Mander - SSL updates
* Ian Craggs - MQTT 3.1.1 support
*******************************************************************************/ *******************************************************************************/
/** /**
......
/******************************************************************************* /*******************************************************************************
* Copyright (c) 2009, 2013 IBM Corp. * Copyright (c) 2009, 2014 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
...@@ -13,6 +13,7 @@ ...@@ -13,6 +13,7 @@
* Contributors: * Contributors:
* Ian Craggs - initial API and implementation and/or initial documentation * Ian Craggs - initial API and implementation and/or initial documentation
* Ian Craggs, Allan Stockdill-Mander - SSL updates * Ian Craggs, Allan Stockdill-Mander - SSL updates
* Ian Craggs - MQTT 3.1.1 support
*******************************************************************************/ *******************************************************************************/
#if !defined(MQTTPACKETOUT_H) #if !defined(MQTTPACKETOUT_H)
......
/******************************************************************************* /*******************************************************************************
* Copyright (c) 2009, 201 IBM Corp. * Copyright (c) 2009, 2014 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
...@@ -13,6 +13,7 @@ ...@@ -13,6 +13,7 @@
* Contributors: * Contributors:
* Ian Craggs - initial API and implementation and/or initial documentation * Ian Craggs - initial API and implementation and/or initial documentation
* Ian Craggs, Allan Stockdill-Mander - SSL updates * Ian Craggs, Allan Stockdill-Mander - SSL updates
* Ian Craggs - MQTT 3.1.1 support
*******************************************************************************/ *******************************************************************************/
/** /**
......
/******************************************************************************* /*******************************************************************************
* Copyright (c) 2009, 2013 IBM Corp. * Copyright (c) 2009, 2014 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
...@@ -13,6 +13,7 @@ ...@@ -13,6 +13,7 @@
* Contributors: * Contributors:
* Ian Craggs - initial API and implementation and/or initial documentation * Ian Craggs - initial API and implementation and/or initial documentation
* Ian Craggs, Allan Stockdill-Mander - SSL updates * Ian Craggs, Allan Stockdill-Mander - SSL updates
* Ian Craggs - MQTT 3.1.1 support
*******************************************************************************/ *******************************************************************************/
#if !defined(MQTTPROTOCOLOUT_H) #if !defined(MQTTPROTOCOLOUT_H)
......
#define MY_ID "@(#) stmqcom/pub1.c, stmqcom, cs 1.85 10/08/24 07:36:24" /*******************************************************************************
/*--------------------------------------------------------------------*/ * Copyright (c) 2009, 2014 IBM Corp.
/* [Platforms]UNIX NT[/Platforms] */ *
/* [Title]MQ Telemetry MQTT C client tests */ * All rights reserved. This program and the accompanying materials
/* [/Title] */ * are made available under the terms of the Eclipse Public License v1.0
/* [Testclasses]stcom1 stmqcom1[/Category] */ * and Eclipse Distribution License v1.0 which accompany this distribution.
/* [Category]MQ Telemetry[/Category] */ *
/* */ * The Eclipse Public License is available at
/* Copyright IBM 2012 */ * http://www.eclipse.org/legal/epl-v10.html
/* All rights reserved. */ * and the Eclipse Distribution License is available at
/*--------------------------------------------------------------------*/ * http://www.eclipse.org/org/documents/edl-v10.php.
*
* Contributors:
* Ian Craggs - initial API and implementation and/or initial documentation
* Ian Craggs - MQTT 3.1.1 support
*******************************************************************************/
/** /**
......
#define MY_ID "@(#) stmqcom/pub1.c, stmqcom, cs 1.85 10/08/24 07:36:24" /*******************************************************************************
/*--------------------------------------------------------------------*/ * Copyright (c) 2012, 2014 IBM Corp.
/* [Platforms]UNIX NT[/Platforms] */ *
/* [Title]MQ Telemetry MQTT C client SSL tests */ * All rights reserved. This program and the accompanying materials
/* [/Title] */ * are made available under the terms of the Eclipse Public License v1.0
/* [Testclasses]stcom1 stmqcom1[/Category] */ * and Eclipse Distribution License v1.0 which accompany this distribution.
/* [Category]MQ Telemetry[/Category] */ *
/* */ * The Eclipse Public License is available at
/* Copyright IBM 2012 */ * http://www.eclipse.org/legal/epl-v10.html
/* All rights reserved. */ * and the Eclipse Distribution License is available at
/*--------------------------------------------------------------------*/ * http://www.eclipse.org/org/documents/edl-v10.php.
*
* Contributors:
* Allan Stockdill-Mander - initial API and implementation and/or initial documentation
*******************************************************************************/
/** /**
......
#define MY_ID "@(#) stmqcom/pub1.c, stmqcom, cs 1.85 10/08/24 07:36:24" /*******************************************************************************
/*--------------------------------------------------------------------*/ * Copyright (c) 2009, 2014 IBM Corp.
/* [Platforms]UNIX NT[/Platforms] */ *
/* [Title]MQ Telemetry MQTT C client tests */ * All rights reserved. This program and the accompanying materials
/* [/Title] */ * are made available under the terms of the Eclipse Public License v1.0
/* [Testclasses]stcom1 stmqcom1[/Category] */ * and Eclipse Distribution License v1.0 which accompany this distribution.
/* [Category]MQ Telemetry[/Category] */ *
/* */ * The Eclipse Public License is available at
/* Copyright IBM 2012 */ * http://www.eclipse.org/legal/epl-v10.html
/* All rights reserved. */ * and the Eclipse Distribution License is available at
/*--------------------------------------------------------------------*/ * http://www.eclipse.org/org/documents/edl-v10.php.
*
* Contributors:
* Ian Craggs - initial API and implementation and/or initial documentation
* Ian Craggs - MQTT 3.1.1 support
*******************************************************************************/
/** /**
......
#define MY_ID "@(#) stmqcom/pub1.c, stmqcom, cs 1.85 10/08/24 07:36:24" /*******************************************************************************
/*--------------------------------------------------------------------*/ * Copyright (c) 2012, 2014 IBM Corp.
/* [Platforms]UNIX NT[/Platforms] */ *
/* [Title]MQ Telemetry MQTT C client SSL tests */ * All rights reserved. This program and the accompanying materials
/* [/Title] */ * are made available under the terms of the Eclipse Public License v1.0
/* [Testclasses]stcom1 stmqcom1[/Category] */ * and Eclipse Distribution License v1.0 which accompany this distribution.
/* [Category]MQ Telemetry[/Category] */ *
/* */ * The Eclipse Public License is available at
/* Copyright IBM 2012 */ * http://www.eclipse.org/legal/epl-v10.html
/* All rights reserved. */ * and the Eclipse Distribution License is available at
/*--------------------------------------------------------------------*/ * http://www.eclipse.org/org/documents/edl-v10.php.
*
* Contributors:
* Allan Stockdill-Mander - initial API and implementation and/or initial documentation
*******************************************************************************/
/** /**
* @file * @file
......
#define MY_ID "@(#) stmqcom/pub1.c, stmqcom, cs 1.85 10/08/24 07:36:24" /*******************************************************************************
/*--------------------------------------------------------------------*/ * Copyright (c) 2011, 2014 IBM Corp.
/* [Platforms]UNIX NT[/Platforms] */ *
/* [Title]MQTT restart/recovery application for Async C client */ * All rights reserved. This program and the accompanying materials
/* [/Title] */ * are made available under the terms of the Eclipse Public License v1.0
/* [Testclasses]stcom1 stmqcom1[/Category] */ * and Eclipse Distribution License v1.0 which accompany this distribution.
/* [Category]MQDrivers[/Category] */ *
/* */ * The Eclipse Public License is available at
/* Copyright IBM 2011, 2013 */ * http://www.eclipse.org/legal/epl-v10.html
/* All rights reserved. */ * and the Eclipse Distribution License is available at
/*--------------------------------------------------------------------*/ * http://www.eclipse.org/org/documents/edl-v10.php.
*
* Contributors:
* Ian Craggs - initial API and implementation and/or initial documentation
*******************************************************************************/
/** /**
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment