#include "precompiled_extensions.hxx"
#include <cstdarg>
#include <math.h>
#include <osl/file.h>
#include <tools/stream.hxx>
#include <sane.hxx>
#include <dlfcn.h>
#include <stdio.h>
#include <unistd.h>
#include <sys/time.h>
#include <sys/types.h>
#include <sal/config.h>
Include dependency graph for sane.cxx:
Go to the source code of this file.
Defines | |
#define | dump_state(a, b, c, d) ; |
#define | FAIL_SHUTDOWN_STATE(x, y, z) |
#define | FAIL_STATE(x, y, z) |
#define | DUMP_STATE(x, y) |
#define | CHECK_STATE(x, y) |
#define | BYTE_BUFFER_SIZE 32768 |
Enumerations | |
enum | FrameStyleType { FrameStyle_BW, FrameStyle_Gray, FrameStyle_RGB, FrameStyle_Separated } |
Functions | |
void | dbg_msg (const char *pString,...) |
static UINT8 | _ReadValue (FILE *fp, int depth) |
Variables | |
static BOOL | bSaneSymbolLoadFailed = FALSE |
static const char * | ppUnits [] |
#define BYTE_BUFFER_SIZE 32768 |
#define CHECK_STATE | ( | x, | |||
y | ) |
Value:
if( x != SANE_STATUS_GOOD ) \ { \ dump_state( "%s returned error %d (%s)\n", \ y, x, p_strstatus( x ) ); \ } \ else
#define DUMP_STATE | ( | x, | |||
y | ) |
Value:
if( x != SANE_STATUS_GOOD ) \ { \ dump_state( "%s returned error %d (%s)\n", \ y, x, p_strstatus( x ) ); \ }
Definition at line 85 of file sane.cxx.
Referenced by Sane::ControlOption(), and Sane::Start().
#define FAIL_SHUTDOWN_STATE | ( | x, | |||
y, | |||||
z | ) |
Value:
if( x != SANE_STATUS_GOOD ) \ { \ dump_state( "%s returned error %d (%s)\n", \ y, x, p_strstatus( x ) ); \ DeInit(); \ return z; \ }
Definition at line 68 of file sane.cxx.
Referenced by Sane::Init().
#define FAIL_STATE | ( | x, | |||
y, | |||||
z | ) |
Value:
if( x != SANE_STATUS_GOOD ) \ { \ dump_state( "%s returned error %d (%s)\n", \ y, x, p_strstatus( x ) ); \ return z; \ }
Definition at line 77 of file sane.cxx.
Referenced by Sane::Open().
enum FrameStyleType |
static UINT8 _ReadValue | ( | FILE * | fp, | |
int | depth | |||
) | [inline, static] |
void dbg_msg | ( | const char * | pString, | |
... | ||||
) | [inline] |
Definition at line 56 of file sane.cxx.
Referenced by Sane::CheckConsistency(), Sane::ControlOption(), and Sane::GetRange().
BOOL bSaneSymbolLoadFailed = FALSE [static] |
const char* ppUnits[] [static] |