25#include <linux/dvb/dmx.h>
210 unsigned int adapter,
304 const char *sysname,
int flags);
340 void *buf,
size_t count);
400 int pid, dmx_pes_type_t type,
401 dmx_output_t output,
int buffersize);
426 int pid,
unsigned filtsize,
427 unsigned char *filter,
475 unsigned timeout_multiply);
479#ifdef HAVE_DVBV5_REMOTE
481#define REMOTE_BUF_SIZE (87 * 188)
static int dvb_dev_remote_init(struct dvb_device *d, char *server, int port)
struct dvb_dev_list * dvb_get_dev_info(struct dvb_device *dvb, const char *sysname)
Return data about a device from its sysname.
dvb_dev_change_type
Describes the type of change to be notifier_delay.
struct dvb_dev_list * dvb_dev_seek_by_adapter(struct dvb_device *dvb, unsigned int adapter, unsigned int num, enum dvb_dev_type type)
Find a device that matches the search criteria given by this functions's parameters.
int(* dvb_dev_change_t)(char *sysname, enum dvb_dev_change_type type, void *priv)
Describes a callback for dvb_dev_find()
Provides interfaces to deal with DVB frontend.
void(* dvb_logfunc_priv)(void *logpriv, int level, const char *fmt,...)
Provides interfaces to scan programs inside MPEG-TS digital TV streams.
void(* dvb_logfunc)(int level, const char *fmt,...)
typedef used by dvb_fe_open2 for the log function
void dvb_dev_free(struct dvb_device *dvb)
free a struct dvb_device
struct dvb_open_descriptor * dvb_dev_open(struct dvb_device *dvb, const char *sysname, int flags)
Opens a dvb device.
void dvb_dev_stop_monitor(struct dvb_device *dvb)
Stop the dvb_dev_find loop.
int dvb_dev_dmx_get_pmt_pid(struct dvb_open_descriptor *open_dev, int sid)
read the contents of the MPEG-TS PAT table, seeking for an specific service ID
int dvb_dev_dmx_set_pesfilter(struct dvb_open_descriptor *open_dev, int pid, dmx_pes_type_t type, dmx_output_t output, int buffersize)
Start a filter for a MPEG-TS Packetized Elementary Stream (PES)
void dvb_dev_dmx_stop(struct dvb_open_descriptor *open_dev)
Stops the demux filter for a given file descriptor.
int dvb_dev_dmx_set_section_filter(struct dvb_open_descriptor *open_dev, int pid, unsigned filtsize, unsigned char *filter, unsigned char *mask, unsigned char *mode, unsigned int flags)
Sets a MPEG-TS section filter.
int dvb_dev_find(struct dvb_device *dvb, dvb_dev_change_t handler, void *user_priv)
finds all DVB devices on the local machine
int dvb_dev_set_bufsize(struct dvb_open_descriptor *open_dev, int buffersize)
Start a demux or dvr buffer size.
int dvb_dev_get_fd(struct dvb_open_descriptor *open_dev)
returns fd from a local device This will not work for remote devices.
void dvb_dev_set_log(struct dvb_device *dvb, unsigned verbose, dvb_logfunc logfunc)
Sets the DVB verbosity and log function.
ssize_t dvb_dev_read(struct dvb_open_descriptor *open_dev, void *buf, size_t count)
read from a dvb demux or dvr file
struct dvb_device * dvb_dev_alloc(void)
Allocate a struct dvb_device.
void dvb_dev_close(struct dvb_open_descriptor *open_dev)
Closes a dvb device.
void dvb_dev_set_logpriv(struct dvb_device *dvb, unsigned verbose, dvb_logfunc_priv logfunc, void *logpriv)
Sets the DVB verbosity and log function with context private data.
dvb_dev_type
Type of a device entry to search.
struct dvb_v5_descriptors * dvb_dev_scan(struct dvb_open_descriptor *open_dev, struct dvb_entry *entry, check_frontend_t *check_frontend, void *args, unsigned other_nit, unsigned timeout_multiply)
Scans a DVB dvb_add_scaned_transponder.
int() check_frontend_t(void *args, struct dvb_v5_fe_parms *parms)
Callback for the application to show the frontend status.
Digital TV device node properties.
enum dvb_dev_type dvb_type
Digital TV list of devices.
struct dvb_v5_fe_parms * fe_parms
struct dvb_dev_list * devices
Represents one entry on a DTV file.
Opaque struct with a DVB open file descriptor.
Contains the descriptors needed to scan the Service ID and other relevant info at a MPEG-TS Digital T...
Keeps data needed to handle the DVB frontend.