Commit graph

21 commits

Author SHA1 Message Date
Roger A. Light
d17a88d916 Refactor headers for easier discovery. 2023-12-23 12:59:58 +00:00
Roger A. Light
e656e694ed Merge branch 'master' into develop 2023-09-09 15:20:40 +01:00
Roger A. Light
3bb4ff180e Fix Coverity Scan 1509020 Unchecked return value.
This was really a false positive, however the intent is probably clearer
now.
2023-07-09 08:40:02 +01:00
Roger A. Light
747fcacd67 Make args const where possible, fix persist-sqlite build. 2023-04-19 22:54:53 +01:00
Roger A. Light
56462c1229 Refactor for more consistent json helper use. 2023-04-19 17:12:20 +01:00
Roger A. Light
fd330de080 client_id -> clientid rename. 2023-01-16 18:46:35 +00:00
Roger A. Light
3e17494d34 Rename topic -> topic_filter in events. 2023-01-16 17:17:55 +00:00
Roger A. Light
1081661f74 Refactor client structs. 2023-01-16 10:21:12 +00:00
Roger A. Light
7013a3502d Refactor client_msg structs 2023-01-16 10:21:12 +00:00
Roger A. Light
3634f18bc9 Refactor subscription structs 2023-01-16 10:21:12 +00:00
Roger A. Light
100fd31530 Refactor base_msg structs. 2023-01-16 10:21:12 +00:00
Roger A. Light
403f6443be Sqlite: Provide logs on restore errors 2022-10-16 21:23:15 +01:00
Roger A. Light
adf985bff8 Persistence: Store cmsg_id and sub id for client_msgs. 2022-10-11 21:51:43 +01:00
Roger A. Light
cfd4aa1c95 sqlite: Consistent naming 2022-10-11 21:50:03 +01:00
Roger A. Light
d4960d0ead sqlite: Save/restore binary properties. 2022-10-09 22:02:59 +01:00
Roger A. Light
07b7533b1e Fix Coverity Scan 1486947 Double free 2022-03-24 08:11:11 +00:00
Roger A. Light
c661f475b4 Coverity Scan fixes - Invalid type in argument to printf format specifier
1453805
1453806
1486939
1486954
1486955
1486956
1486960
2022-03-24 08:11:11 +00:00
Roger A. Light
0a4a029fbf Persist plugin: Simplify cases where we don't take a copy.
Some members of the persist plugin interface are only used to find a
client struct, for example. There is no need for the plugin to allocate
a new copy and the broker to free it in that case.
2022-03-16 22:18:45 +00:00
Roger A. Light
cbb01193a0 Rename persist retain_add to retain_set 2022-03-01 20:55:56 +00:00
Roger A. Light
2d3b152a22 Rename of mosquitto_msg_store struct.
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.
2022-03-01 10:44:47 +00:00
Roger A. Light
dc906c5221 Sqlite persistence plugin. 2022-01-09 23:54:09 +00:00