Coverage Report

Created: 2023-06-07 06:10

/src/mosquitto/plugins/dynamic-security/tick.c
Line
Count
Source (jump to first uncovered line)
1
/*
2
Copyright (c) 2020-2021 Roger Light <roger@atchoo.org>
3
4
All rights reserved. This program and the accompanying materials
5
are made available under the terms of the Eclipse Public License 2.0
6
and Eclipse Distribution License v1.0 which accompany this distribution.
7
8
The Eclipse Public License is available at
9
   https://www.eclipse.org/legal/epl-2.0/
10
and the Eclipse Distribution License is available at
11
  http://www.eclipse.org/org/documents/edl-v10.php.
12
13
SPDX-License-Identifier: EPL-2.0 OR BSD-3-Clause
14
15
Contributors:
16
   Roger Light - initial implementation and documentation.
17
*/
18
19
#include "config.h"
20
21
#include "mosquitto.h"
22
#include "mosquitto_broker.h"
23
#include "mosquitto_plugin.h"
24
#include "mqtt_protocol.h"
25
26
#include "dynamic_security.h"
27
28
int dynsec__tick_callback(int event, void *event_data, void *userdata)
29
0
{
30
0
  UNUSED(event);
31
0
  UNUSED(event_data);
32
33
0
  dynsec_kicklist__kick(userdata);
34
0
  return MOSQ_ERR_SUCCESS;
35
0
}