#include <type_traits>
#include <math.h>
#include <o3tl/safeint.hxx>
#include <osl/file.h>
#include <sal/log.hxx>
#include <tools/stream.hxx>
#include <unotools/tempfile.hxx>
#include "sane.hxx"
#include <dlfcn.h>
#include <stdio.h>
#include <sys/time.h>
#include <sal/config.h>
#include <sal/macros.h>
#include <memory>
#include <stdarg.h>
Go to the source code of this file.
|
#define | dump_state(a, b, c, d) fprintf( stderr, a, b, c, d ); |
|
#define | FAIL_SHUTDOWN_STATE(x, y, z) |
|
#define | FAIL_STATE(x, y, z) |
|
#define | DUMP_STATE(x, y) |
|
#define | BYTE_BUFFER_SIZE 32768 |
|
◆ BYTE_BUFFER_SIZE
#define BYTE_BUFFER_SIZE 32768 |
◆ dump_state
#define dump_state |
( |
|
a, |
|
|
|
b, |
|
|
|
c, |
|
|
|
d |
|
) |
| fprintf( stderr, a, b, c, d ); |
◆ DUMP_STATE
#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 71 of file sane.cxx.
◆ FAIL_SHUTDOWN_STATE
#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(); \
}
Definition at line 54 of file sane.cxx.
◆ FAIL_STATE
#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 ) ); \
}
Definition at line 63 of file sane.cxx.
◆ dbg_msg()
static void dbg_msg |
( |
const char * |
pString, |
|
|
|
... |
|
) |
| |
|
static |
◆ ReadValue()
◆ bSaneSymbolLoadFailed
bool bSaneSymbolLoadFailed = false |
|
static |
◆ ppUnits