summaryrefslogtreecommitdiffstats
path: root/tests/unit/mock_cmodule.c
blob: 5f4b6ed264524d914c43138acd24b0d87a5100d8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
/*  Copyright (C) 2015-2017 CZ.NIC, z.s.p.o. <knot-dns@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)