mirror of
https://github.com/eclipse-mosquitto/mosquitto.git
synced 2026-05-09 03:46:31 +02:00
struct mosquitto_msg_store -> struct mosquitto_base_msg This is the base message which client messages and retained messages refer to. The base messages are still held in the message store. This change comes about because the persistence interface exposes these message types. Prior to this commit the different messages were "msg", "client_msg", and "retain". After this commit there is "base_msg", "client_msg", and and "retain_msg" in the persist interface.
29 lines
901 B
C
29 lines
901 B
C
#ifndef DB_DUMP_H
|
|
#define DB_DUMP_H
|
|
/*
|
|
Copyright (c) 2010-2021 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 2.0
|
|
and Eclipse Distribution License v1.0 which accompany this distribution.
|
|
|
|
The Eclipse Public License is available at
|
|
https://www.eclipse.org/legal/epl-2.0/
|
|
and the Eclipse Distribution License is available at
|
|
http://www.eclipse.org/org/documents/edl-v10.php.
|
|
|
|
SPDX-License-Identifier: EPL-2.0 OR BSD-3-Clause
|
|
|
|
Contributors:
|
|
Roger Light - initial implementation and documentation.
|
|
*/
|
|
|
|
#include <persist.h>
|
|
|
|
void print__client(struct P_client *chunk, uint32_t length);
|
|
void print__client_msg(struct P_client_msg *chunk, uint32_t length);
|
|
void print__base_msg(struct P_base_msg *chunk, uint32_t length);
|
|
void print__sub(struct P_sub *chunk, uint32_t length);
|
|
|
|
#endif
|