Debug
[EDT Digital Imaging 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 PDV 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 PDV library.

This results in debug output being written to the screen by PDV 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 6372 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 6391 of file libpdv.c.


Generated on 19 Jun 2015 by  doxygen 1.4.7