1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-21 04:06:46 +00:00
freebsd-ports/multimedia/linux_dvbwrapper-kmod/files/linux_dvb_compat.h
Juergen Lock 5c392de08e This kld adds DVB ioctl handling to the Linux compatibility layer
so that Linux apps can talk to DVB/ATSC tuners via /dev/dvb/adapterX.

Note this port does not contain actual DVB drivers, those are
provided by e.g. the multimedia/webcamd port.

WWW: http://people.freebsd.org/~nox/dvb/
2011-04-24 15:51:13 +00:00

27 lines
424 B
C

#ifndef __LINUX_DVB_COMPAT_H
#define __LINUX_DVB_COMPAT_H
#include <sys/types.h>
struct l_dtv_property {
uint32_t cmd;
uint32_t reserved[3];
union {
uint32_t data;
struct {
uint8_t data[32];
uint32_t len;
uint32_t reserved1[3];
l_uintptr_t reserved2;
} buffer;
} u;
l_int result;
} __attribute__ ((packed));
struct l_dtv_properties {
uint32_t num;
l_uintptr_t props;
};
#endif /*__LINUX_DVB_H*/