Paho Asynchronous MQTT C Client Library
MQTTReasonCodes.h
Go to the documentation of this file.
1 /*******************************************************************************
2  * Copyright (c) 2017, 2018 IBM Corp.
3  *
4  * All rights reserved. This program and the accompanying materials
5  * are made available under the terms of the Eclipse Public License v1.0
6  * and Eclipse Distribution License v1.0 which accompany this distribution.
7  *
8  * The Eclipse Public License is available at
9  * http://www.eclipse.org/legal/epl-v10.html
10  * and the Eclipse Distribution License is available at
11  * http://www.eclipse.org/org/documents/edl-v10.php.
12  *
13  * Contributors:
14  * Ian Craggs - initial API and implementation and/or initial documentation
15  *******************************************************************************/
16 
17 #if !defined(MQTTREASONCODES_H)
18 #define MQTTREASONCODES_H
19 
67 };
68 
69 #if defined(WIN32) || defined(WIN64)
70  #define DLLImport __declspec(dllimport)
71  #define DLLExport __declspec(dllexport)
72 #else
73  #define DLLImport extern
74  #define DLLExport __attribute__ ((visibility ("default")))
75 #endif
76 
83 DLLExport const char* MQTTReasonCode_toString(enum MQTTReasonCodes value);
84 
85 #endif
Definition: MQTTReasonCodes.h:24
Definition: MQTTReasonCodes.h:30
Definition: MQTTReasonCodes.h:25
Definition: MQTTReasonCodes.h:27
Definition: MQTTReasonCodes.h:23
Definition: MQTTReasonCodes.h:38
Definition: MQTTReasonCodes.h:43
Definition: MQTTReasonCodes.h:28
Definition: MQTTReasonCodes.h:52
Definition: MQTTReasonCodes.h:54
Definition: MQTTReasonCodes.h:58
Definition: MQTTReasonCodes.h:33
Definition: MQTTReasonCodes.h:31
Definition: MQTTReasonCodes.h:60
Definition: MQTTReasonCodes.h:32
Definition: MQTTReasonCodes.h:39
Definition: MQTTReasonCodes.h:55
Definition: MQTTReasonCodes.h:53
Definition: MQTTReasonCodes.h:57
Definition: MQTTReasonCodes.h:40
Definition: MQTTReasonCodes.h:44
Definition: MQTTReasonCodes.h:59
Definition: MQTTReasonCodes.h:46
#define DLLExport
Definition: MQTTReasonCodes.h:74
Definition: MQTTReasonCodes.h:50
Definition: MQTTReasonCodes.h:34
Definition: MQTTReasonCodes.h:35
Definition: MQTTReasonCodes.h:37
Definition: MQTTReasonCodes.h:47
MQTTReasonCodes
Definition: MQTTReasonCodes.h:21
Definition: MQTTReasonCodes.h:41
Definition: MQTTReasonCodes.h:56
Definition: MQTTReasonCodes.h:29
Definition: MQTTReasonCodes.h:64
Definition: MQTTReasonCodes.h:22
Definition: MQTTReasonCodes.h:61
Definition: MQTTReasonCodes.h:45
Definition: MQTTReasonCodes.h:42
const char * MQTTReasonCode_toString(enum MQTTReasonCodes value)
Definition: MQTTReasonCodes.h:49
Definition: MQTTReasonCodes.h:26
Definition: MQTTReasonCodes.h:51
Definition: MQTTReasonCodes.h:48
Definition: MQTTReasonCodes.h:36
Definition: MQTTReasonCodes.h:63