summaryrefslogtreecommitdiffstats
path: root/tests/unit/mock_cmodule.c
blob: 9cc9d1af2b06c0bb1526b27c808da00457e86c9c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
/*  Copyright (C) CZ.NIC, z.s.p.o. <knot-resolver@labs.nic.cz>
 *  SPDX-License-Identifier: GPL-3.0-or-later
 */

#include "lib/module.h"

/*
 * Mock module implementation.
 */

int mock_cmodule_init(struct kr_module *module)
{
	return kr_ok();
}

int mock_cmodule_deinit(struct kr_module *module)
{
	return kr_ok();
}

KR_MODULE_EXPORT(mock_cmodule)