summaryrefslogtreecommitdiffstats
path: root/tests/plugins/invalid.c
blob: 000ccb4b62bdfbaeb866116ee519041109fff6e0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
/**
 * @file invalid.c
 * @author Radek Krejci <rkrejci@cesnet.cz>
 * @brief Invalid testing plugins implementation
 *
 * Copyright (c) 2021 CESNET, z.s.p.o.
 *
 * This source code is licensed under BSD 3-Clause License (the "License").
 * You may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     https://opensource.org/licenses/BSD-3-Clause
 */

#include <stdint.h>

#include "libyang.h"
#include "plugins_exts.h"
#include "plugins_types.h"

/*
 * EXTENSION PLUGIN
 */

/**
 * @brief Instead of plugin description, only the API version is declared.
 *
 * Here should be LY_PLUGINS_EXTENSIONS used.
 */
uint32_t plugins_extensions_apiver__ = LYPLG_EXT_API_VERSION;

/*
 * TYPE PLUGIN
 */

/**
 * @brief Instead of plugin description, only the API version is declared.
 *
 * Here should be LYPLG_TYPES used.
 */
uint32_t plugins_types_apiver__ = LYPLG_TYPE_API_VERSION;