mirror of
https://github.com/eclipse/mosquitto.git
synced 2025-05-09 01:01:11 +08:00
Fix tests build.
This commit is contained in:
parent
c99502a256
commit
3e1cf8a80b
@ -139,3 +139,10 @@ void db__msg_add_to_queued_stats(struct mosquitto_msg_data *msg_data, struct mos
|
||||
UNUSED(msg_data);
|
||||
UNUSED(msg);
|
||||
}
|
||||
|
||||
int session_expiry__add_from_persistence(struct mosquitto *context, time_t expiry_time)
|
||||
{
|
||||
UNUSED(context);
|
||||
UNUSED(expiry_time);
|
||||
return 0;
|
||||
}
|
||||
|
@ -205,3 +205,10 @@ void context__add_to_by_id(struct mosquitto *context)
|
||||
HASH_ADD_KEYPTR(hh_id, db.contexts_by_id, context->id, strlen(context->id), context);
|
||||
}
|
||||
}
|
||||
|
||||
int session_expiry__add_from_persistence(struct mosquitto *context, time_t expiry_time)
|
||||
{
|
||||
UNUSED(context);
|
||||
UNUSED(expiry_time);
|
||||
return 0;
|
||||
}
|
||||
|
@ -121,3 +121,10 @@ void context__add_to_by_id(struct mosquitto *context)
|
||||
HASH_ADD_KEYPTR(hh_id, db.contexts_by_id, context->id, strlen(context->id), context);
|
||||
}
|
||||
}
|
||||
|
||||
int session_expiry__add_from_persistence(struct mosquitto *context, time_t expiry_time)
|
||||
{
|
||||
UNUSED(context);
|
||||
UNUSED(expiry_time);
|
||||
return 0;
|
||||
}
|
||||
|
@ -219,3 +219,10 @@ void util__increment_send_quota(struct mosquitto *mosq)
|
||||
{
|
||||
mosq->msgs_out.inflight_quota++;
|
||||
}
|
||||
|
||||
int session_expiry__add_from_persistence(struct mosquitto *context, time_t expiry_time)
|
||||
{
|
||||
UNUSED(context);
|
||||
UNUSED(expiry_time);
|
||||
return 0;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user