Name

dvb_register_device — Registers a new DVB device

Synopsis

int dvb_register_device (struct dvb_adapter * adap,
 struct dvb_device ** pdvbdev,
 const struct dvb_device * template,
 void * priv,
 int type,
 int demux_sink_pads);
 

Arguments

adap

pointer to struct dvb_adapter

pdvbdev

pointer to the place where the new struct dvb_device will be stored

template

Template used to create pdvbdev;

priv

private data

type

type of the device: DVB_DEVICE_SEC, DVB_DEVICE_FRONTEND, DVB_DEVICE_DEMUX, DVB_DEVICE_DVR, DVB_DEVICE_CA, DVB_DEVICE_NET

demux_sink_pads

Number of demux outputs, to be used to create the TS outputs via the Media Controller.