e2324ff9bb
Conflicts: CMakeLists.txt ChangeLog.txt THANKS.txt appveyor.yml config.mk installer/mosquitto-cygwin.nsi installer/mosquitto.nsi lib/messages_mosq.c lib/messages_mosq.h lib/mosquitto.c lib/mosquitto.h lib/net_mosq.c lib/net_mosq.h lib/send_client_mosq.c lib/send_mosq.c lib/socks_mosq.c lib/will_mosq.c src/bridge.c src/conf.c src/context.c src/database.c src/loop.c src/mosquitto.c src/mosquitto_broker.h src/net.c src/read_handle.c src/read_handle_server.c src/subs.c
32 lines
1.3 KiB
C
32 lines
1.3 KiB
C
/*
|
|
Copyright (c) 2010-2015 Roger Light <roger@atchoo.org>
|
|
|
|
All rights reserved. This program and the accompanying materials
|
|
are made available under the terms of the Eclipse Public License v1.0
|
|
and Eclipse Distribution License v1.0 which accompany this distribution.
|
|
|
|
The Eclipse Public License is available at
|
|
http://www.eclipse.org/legal/epl-v10.html
|
|
and the Eclipse Distribution License is available at
|
|
http://www.eclipse.org/org/documents/edl-v10.php.
|
|
|
|
Contributors:
|
|
Roger Light - initial implementation and documentation.
|
|
*/
|
|
#ifndef _MESSAGES_MOSQ_H_
|
|
#define _MESSAGES_MOSQ_H_
|
|
|
|
#include "mosquitto_internal.h"
|
|
#include "mosquitto.h"
|
|
|
|
void message__cleanup_all(struct mosquitto *mosq);
|
|
void message__cleanup(struct mosquitto_message_all **message);
|
|
int message__delete(struct mosquitto *mosq, uint16_t mid, enum mosquitto_msg_direction dir);
|
|
int message__queue(struct mosquitto *mosq, struct mosquitto_message_all *message, enum mosquitto_msg_direction dir);
|
|
void message__reconnect_reset(struct mosquitto *mosq);
|
|
int message__remove(struct mosquitto *mosq, uint16_t mid, enum mosquitto_msg_direction dir, struct mosquitto_message_all **message);
|
|
void message__retry_check(struct mosquitto *mosq);
|
|
int message__out_update(struct mosquitto *mosq, uint16_t mid, enum mosquitto_msg_state state);
|
|
|
|
#endif
|