ZBar Bar Code Reader Library  version 0.10
processor/x.c File Reference

Functions

int _zbar_processor_close (zbar_processor_t *proc)
 
int _zbar_processor_invalidate (zbar_processor_t *proc)
 
int _zbar_processor_open (zbar_processor_t *proc, char *title, unsigned width, unsigned height)
 
int _zbar_processor_set_size (zbar_processor_t *proc, unsigned width, unsigned height)
 
int _zbar_processor_set_visible (zbar_processor_t *proc, int visible)
 
static int x_connection_handler (zbar_processor_t *proc, int i)
 
static int x_handle_event (zbar_processor_t *proc)
 
static int x_handle_events (zbar_processor_t *proc)
 
static int x_internal_handler (zbar_processor_t *proc, int i)
 
static void x_internal_watcher (Display *display, XPointer client_arg, int fd, Bool opening, XPointer *watch_arg)
 

Function Documentation

int _zbar_processor_close ( zbar_processor_t *  proc)

References __func__, null_error(), and zbar_window_attach().

Here is the call graph for this function:

int _zbar_processor_invalidate ( zbar_processor_t *  proc)

References __func__, and null_error().

Referenced by x_handle_event().

Here is the call graph for this function:

Here is the caller graph for this function:

int _zbar_processor_open ( zbar_processor_t *  proc,
char *  title,
unsigned  width,
unsigned  height 
)
int _zbar_processor_set_size ( zbar_processor_t *  proc,
unsigned  width,
unsigned  height 
)

References __func__, scan_image::height, null_error(), and scan_image::width.

Here is the call graph for this function:

int _zbar_processor_set_visible ( zbar_processor_t *  proc,
int  visible 
)

References __func__, and null_error().

Here is the call graph for this function:

static int x_connection_handler ( zbar_processor_t *  proc,
int  i 
)
static

References _zbar_mutex_lock, _zbar_mutex_unlock, _zbar_processor_lock(), _zbar_processor_unlock(), and x_handle_events().

Referenced by _zbar_processor_open(), and x_internal_handler().

Here is the call graph for this function:

Here is the caller graph for this function:

static int x_handle_event ( zbar_processor_t *  proc)
inlinestatic
static int x_handle_events ( zbar_processor_t *  proc)
static

References x_handle_event().

Referenced by x_connection_handler().

Here is the call graph for this function:

Here is the caller graph for this function:

static int x_internal_handler ( zbar_processor_t *  proc,
int  i 
)
static

References x_connection_handler().

Referenced by x_internal_watcher().

Here is the call graph for this function:

Here is the caller graph for this function:

static void x_internal_watcher ( Display *  display,
XPointer  client_arg,
int  fd,
Bool  opening,
XPointer *  watch_arg 
)
static

References proc, and x_internal_handler().

Referenced by _zbar_processor_open().

Here is the call graph for this function:

Here is the caller graph for this function: