Closes #3.
@ -14,8 +14,8 @@ Contributors:
Roger Light - initial implementation and documentation.
*/
#ifndef _CLIENT_CONFIG_H
#define _CLIENT_CONFIG_H
#ifndef CLIENT_CONFIG_H
#define CLIENT_CONFIG_H
#include <stdio.h>
@ -1,5 +1,5 @@
#ifndef _DUMMYPTHREAD_H_
#define _DUMMYPTHREAD_H_
#ifndef DUMMYPTHREAD_H
#define DUMMYPTHREAD_H
#define pthread_create(A, B, C, D)
#define pthread_join(A, B)
@ -13,8 +13,8 @@ and the Eclipse Distribution License is available at
Contributors:
#ifndef _LOGGING_MOSQ_H_
#define _LOGGING_MOSQ_H_
#ifndef LOGGING_MOSQ_H
#define LOGGING_MOSQ_H
#include "mosquitto.h"
#ifndef _MEMORY_MOSQ_H_
#define _MEMORY_MOSQ_H_
#ifndef MEMORY_MOSQ_H
#define MEMORY_MOSQ_H
#include <sys/types.h>
#ifndef _MESSAGES_MOSQ_H_
#define _MESSAGES_MOSQ_H_
#ifndef MESSAGES_MOSQ_H
#define MESSAGES_MOSQ_H
#include "mosquitto_internal.h"
#ifndef _MOSQUITTO_H_
#define _MOSQUITTO_H_
#ifndef MOSQUITTO_H
#define MOSQUITTO_H
#ifdef __cplusplus
extern "C" {
#ifndef _MOSQUITTO_INTERNAL_H_
#define _MOSQUITTO_INTERNAL_H_
#ifndef MOSQUITTO_INTERNAL_H
#define MOSQUITTO_INTERNAL_H
#include "config.h"
#ifndef _MQTT3_PROTOCOL_H_
#define _MQTT3_PROTOCOL_H_
#ifndef MQTT3_PROTOCOL_H
#define MQTT3_PROTOCOL_H
/* For version 3 of the MQTT protocol */
#ifndef _NET_MOSQ_H_
#define _NET_MOSQ_H_
#ifndef NET_MOSQ_H
#define NET_MOSQ_H
#ifndef WIN32
#include <unistd.h>
#ifndef _PACKET_MOSQ_H_
#define _PACKET_MOSQ_H_
#ifndef PACKET_MOSQ_H
#define PACKET_MOSQ_H
#ifndef _READ_HANDLE_H_
#define _READ_HANDLE_H_
#ifndef READ_HANDLE_H
#define READ_HANDLE_H
struct mosquitto_db;
#ifndef _SEND_MOSQ_H_
#define _SEND_MOSQ_H_
#ifndef SEND_MOSQ_H
#define SEND_MOSQ_H
#ifndef _TIME_MOSQ_H_
#define _TIME_MOSQ_H_
#ifndef TIME_MOSQ_H
#define TIME_MOSQ_H
time_t mosquitto_time(void);
#ifndef _TLS_MOSQ_H_
#define _TLS_MOSQ_H_
#ifndef TLS_MOSQ_H
#define TLS_MOSQ_H
#ifdef WITH_TLS
# define SSL_DATA_PENDING(A) ((A)->ssl && SSL_pending((A)->ssl))
#ifndef _UTIL_MOSQ_H_
#define _UTIL_MOSQ_H_
#ifndef UTIL_MOSQ_H
#define UTIL_MOSQ_H
#ifndef _WILL_MOSQ_H_
#define _WILL_MOSQ_H_
#ifndef WILL_MOSQ_H
#define WILL_MOSQ_H