Debug
[EDT Digital Video Library]


Detailed Description

Get and set flags that determine debug output from the library.

For more information, see the EDT Message Handler Library.


Functions

int pdv_debug (int flag)
 Sets the debug level of the PCI DV library.
int pdv_debug_level ()
 Gets the debug level, as set by pdv_debug or outside environment variables.


Function Documentation

int pdv_debug ( int  flag  ) 

Sets the debug level of the PCI DV library.

This results in debug output being written to the screen by PCI DV library calls. The same thing can be accomplished by setting the PDVDEBUG environment variable to 1. See also the program setdebug.c for information on using the device driver debug flags.

To control the output of messages from the DV library, see the EDT Message Handler Library.

Parameters:
flag flags debug output on (nonzero) or off (zero).
Returns:
previous debug level

Definition at line 5531 of file libpdv.c.

int pdv_debug_level ( void   ) 

Gets the debug level, as set by pdv_debug or outside environment variables.

For values, see the EDT Message Handler Library.

Returns:
debug level

Definition at line 5550 of file libpdv.c.


Generated on Mon May 12 16:39:11 2008 by  doxygen 1.5.1