Skip to content
This repository was archived by the owner on Nov 16, 2020. It is now read-only.

Commit c469d50

Browse files
authored
Update README.md
1 parent 762c801 commit c469d50

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

README.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,14 @@ Upon reviewing mosquitto sources, `lib/send_publish.c` is the ideal place to app
7070
`mosquitto__rule_engine()` is called from `send__real_publish()`. Based on `topic`, either no rule or user created lua script is executed.
7171

7272
```
73-
int send__real_publish(struct mosquitto *mosq, uint16_t mid, const char *topic, uint32_t payloadlen, const void *payload, int qos, bool retain, bool dup)
73+
int send__real_publish(struct mosquitto *mosq,
74+
uint16_t mid,
75+
const char *topic,
76+
uint32_t payloadlen,
77+
const void *payload,
78+
int qos,
79+
bool retain,
80+
bool dup)
7481
{
7582
...
7683
// Apply rules to build "packet"

0 commit comments

Comments
 (0)