mirror of
https://github.com/eclipse/mosquitto.git
synced 2025-05-09 01:01:11 +08:00
Add missing stubs.
This commit is contained in:
parent
f3590f3020
commit
0d0a36906c
@ -197,3 +197,11 @@ void db__msg_add_to_queued_stats(struct mosquitto_msg_data *msg_data, struct mos
|
|||||||
UNUSED(msg_data);
|
UNUSED(msg_data);
|
||||||
UNUSED(msg);
|
UNUSED(msg);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void context__add_to_by_id(struct mosquitto *context)
|
||||||
|
{
|
||||||
|
if(context->in_by_id == false){
|
||||||
|
context->in_by_id = true;
|
||||||
|
HASH_ADD_KEYPTR(hh_id, db.contexts_by_id, context->id, strlen(context->id), context);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
@ -113,3 +113,11 @@ int send__pubrel(struct mosquitto *mosq, uint16_t mid, const mosquitto_property
|
|||||||
|
|
||||||
return MOSQ_ERR_SUCCESS;
|
return MOSQ_ERR_SUCCESS;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void context__add_to_by_id(struct mosquitto *context)
|
||||||
|
{
|
||||||
|
if(context->in_by_id == false){
|
||||||
|
context->in_by_id = true;
|
||||||
|
HASH_ADD_KEYPTR(hh_id, db.contexts_by_id, context->id, strlen(context->id), context);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user