libdvbv5  1.4.0
Library to work with Digital TV streams
Data Structures | Functions
dvb-sat.h File Reference

Provides interfaces to deal with DVB Satellite systems. More...

#include "dvb-v5-std.h"
Include dependency graph for dvb-sat.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  dvbsat_freqrange
 Defines a frequency range used by Satellite. More...
 
struct  dvb_sat_lnb
 Stores the information of a LNBf. More...
 

Functions

int dvb_sat_search_lnb (const char *name)
 search for a LNBf entry More...
 
int dvb_print_lnb (int i)
 prints the contents of a LNBf entry at STDOUT. More...
 
void dvb_print_all_lnb (void)
 Prints all LNBf entries at STDOUT. More...
 
const struct dvb_sat_lnbdvb_sat_get_lnb (int i)
 gets a LNBf entry at its internal database More...
 
int dvb_sat_set_parms (struct dvb_v5_fe_parms *parms)
 sets the satellite parameters More...
 

Detailed Description

Provides interfaces to deal with DVB Satellite systems.

Author
Mauro Carvalho Chehab

Please submit bug report and patches to linux.nosp@m.-med.nosp@m.ia@vg.nosp@m.er.k.nosp@m.ernel.nosp@m..org

Definition in file dvb-sat.h.

Function Documentation

void dvb_print_all_lnb ( void  )

Prints all LNBf entries at STDOUT.

This function doesn't return anything. Internally, it calls dvb_print_lnb() for all entries inside its LNBf database.

int dvb_print_lnb ( int  i)

prints the contents of a LNBf entry at STDOUT.

Parameters
iindex for the entry
Returns
returns -1 if the index is out of range, zero otherwise.
const struct dvb_sat_lnb * dvb_sat_get_lnb ( int  i)

gets a LNBf entry at its internal database

Parameters
iindex for the entry.
Returns
returns NULL if not found, of a struct dvb_sat_lnb pointer otherwise.
int dvb_sat_search_lnb ( const char *  name)

search for a LNBf entry

Parameters
namename of the LNBf entry to seek.

On sucess, it returns a non-negative number with corresponds to the LNBf entry inside the LNBf structure at dvb-sat.c.

Returns
A -1 return code indicates that the LNBf was not found.

Definition at line 80 of file dvb-sat.h.

int dvb_sat_set_parms ( struct dvb_v5_fe_parms parms)

sets the satellite parameters

Parameters
parmsstruct dvb_v5_fe_parms pointer.

This function is called internally by the library to set the LNBf parameters, if the dvb_v5_fe_parms::lnb field is filled.

Returns
0 on success.