mirror of https://github.com/wolfSSL/wolfMQTT.git
49 lines
1.3 KiB
C
49 lines
1.3 KiB
C
/* sn-client.h
|
|
*
|
|
* Copyright (C) 2006-2026 wolfSSL Inc.
|
|
*
|
|
* This file is part of wolfMQTT.
|
|
*
|
|
* wolfMQTT is free software; you can redistribute it and/or modify
|
|
* it under the terms of the GNU General Public License as published by
|
|
* the Free Software Foundation; either version 3 of the License, or
|
|
* (at your option) any later version.
|
|
*
|
|
* wolfMQTT is distributed in the hope that it will be useful,
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
* GNU General Public License for more details.
|
|
*
|
|
* You should have received a copy of the GNU General Public License
|
|
* along with this program; if not, write to the Free Software
|
|
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1335, USA
|
|
*/
|
|
|
|
#ifndef WOLFMQTT_SNCLIENT_H
|
|
#define WOLFMQTT_SNCLIENT_H
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
#include "examples/mqttexample.h"
|
|
|
|
|
|
/* Exposed functions */
|
|
int sn_test(MQTTCtx *mqttCtx);
|
|
int sn_testQoSn1(MQTTCtx *mqttCtx);
|
|
int sn_multithread_test(MQTTCtx *mqttCtx);
|
|
|
|
#if defined(NO_MAIN_DRIVER)
|
|
int sn_main(int argc, char** argv);
|
|
int sn_QoSn1_main(int argc, char** argv);
|
|
int sn_multithread_main(int argc, char** argv);
|
|
#endif
|
|
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif /* WOLFMQTT_SNCLIENT_H */
|