libusbgx-0.2.0
Loading...
Searching...
No Matches
usbg_internal_none.h
1/*
2 * This library is free software; you can redistribute it and/or
3 * modify it under the terms of the GNU Lesser General Public
4 * License as published by the Free Software Foundation; either
5 * version 2.1 of the License, or (at your option) any later version.
6 *
7 * This library is distributed in the hope that it will be useful,
8 * but WITHOUT ANY WARRANTY; without even the implied warranty of
9 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
10 * Lesser General Public License for more details.
11 */
12#ifndef USBG_INTERNAL_LIBCONFIG_H
13#define USBG_INTERNAL_LIBCONFIG_H
14
15#ifdef __cplusplus
16extern "C" {
17#endif
18
19#define usbg_get_config_node_int NULL
20#define usbg_get_config_node_bool NULL
21#define usbg_get_config_node_string NULL
22#define usbg_get_config_node_ether_addr NULL
23#define usbg_set_config_node_int NULL
24#define usbg_set_config_node_int_hex NULL
25#define usbg_set_config_node_bool NULL
26#define usbg_set_config_node_string NULL
27#define usbg_set_config_node_ether_addr NULL
28#define usbg_set_config_node_dev NULL
29
30/*
31 * This define comes from libconfig header.
32 *
33 * This is a kind of hack to allow compile libusbgx without
34 * gadget schemes support but our test with libconfig support.
35 */
36#ifndef __libconfig_h
37typedef struct _should_not_be_used config_t;
38typedef struct _should_not_be_used config_setting_t;
39void config_destroy(config_t *config);
40#endif /* __libconfig_h */
41
42#ifdef __cplusplus
43}
44#endif
45
46#endif /* USBG_INTERNAL_LIBCONFIG_H */