Debian Codegraph @

lib/libdvbv5/compat-soname.c

raw
1 /*
2 * Copyright (c) 2013 - Andre Roth <[email protected]>
3 *
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU Lesser General Public License as published by
6 * the Free Software Foundation version 2.1 of the License.
7 *
8 * This program is distributed in the hope that it will be useful,
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 * GNU Lesser General Public License for more details.
12 *
13 * You should have received a copy of the GNU Lesser General Public License
14 * along with this program; if not, write to the Free Software
15 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
16 * Or, point your browser to http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
17 *
18 */
19
20 #include <libdvbv5/descriptors.h>
21 #include <libdvbv5/dvb-fe.h>
22 #include <libdvbv5/dvb-dev.h>
23
24 struct dvb_device_priv;
25
26 int dvb_desc_service_location_init(struct dvb_v5_fe_parms *parms, const uint8_t *buf, struct dvb_desc *desc)
27 {
28 return -1;
29 }
30
31 void dvb_desc_service_location_print(struct dvb_v5_fe_parms *parms, const struct dvb_desc *desc)
32 {
33 }
34
35 void dvb_desc_service_location_free(struct dvb_desc *desc)
36 {
37 }
38
39 int dvb_desc_service_list_init(struct dvb_v5_fe_parms *parms, const uint8_t *buf, struct dvb_desc *desc)
40 {
41 return -1;
42 }
43
44 void dvb_desc_service_list_print(struct dvb_v5_fe_parms *parms, const struct dvb_desc *desc)
45 {
46 }
47
48 struct dvb_dev_list *dvb_dev_seek_by_sysname(struct dvb_device *d,
49 unsigned int adapter,
50 unsigned int num,
51 enum dvb_dev_type type)
52 {
53 return dvb_dev_seek_by_adapter(d, adapter, num, type);
54 }
55
56 struct dvb_dev_list *dvb_local_seek_by_adapter(struct dvb_device_priv *dvb,
57 unsigned int adapter,
58 unsigned int num,
59 enum dvb_dev_type type);
60
61 struct dvb_dev_list *dvb_local_seek_by_sysname(struct dvb_device_priv *dvb,
62 unsigned int adapter,
63 unsigned int num,
64 enum dvb_dev_type type)
65 {
66 return dvb_local_seek_by_adapter(dvb, adapter, num, type);
67 }
68
69 struct dvb_dev_list *dvb_remote_seek_by_adapter(struct dvb_device_priv *dvb,
70 unsigned int adapter,
71 unsigned int num,
72 enum dvb_dev_type type);
73
74 struct dvb_dev_list *dvb_remote_seek_by_sysname(struct dvb_device_priv *dvb,
75 unsigned int adapter,
76 unsigned int num,
77 enum dvb_dev_type type)
78 {
79 return dvb_remote_seek_by_adapter(dvb, adapter, num, type);
80 }
81
82 void stack_dump()
83 {
84 /* preserve soname compatibility until next soname bump */
85 }