ZBar Bar Code Reader Library  version 0.10
posix.c File Reference
Include dependency graph for posix.c:

Functions

void _zbar_event_destroy (zbar_event_t *event)
 
int _zbar_event_init (zbar_event_t *event)
 
void _zbar_event_trigger (zbar_event_t *event)
 
int _zbar_event_wait (zbar_event_t *event, zbar_mutex_t *lock, zbar_timer_t *timeout)
 
int _zbar_processor_cleanup (zbar_processor_t *proc)
 
int _zbar_processor_enable (zbar_processor_t *proc)
 
int _zbar_processor_init (zbar_processor_t *proc)
 
int _zbar_processor_input_wait (zbar_processor_t *proc, zbar_event_t *event, int timeout)
 
static void proc_cache_polling (processor_state_t *state)
 
static int proc_kick_handler (zbar_processor_t *proc, int i)
 
static int proc_poll_inputs (zbar_processor_t *proc, int timeout)
 
static int proc_sleep (int timeout)
 
static int proc_video_handler (zbar_processor_t *proc, int i)
 

Function Documentation

void _zbar_event_destroy ( zbar_event_t event)

Referenced by _zbar_event_trigger().

Here is the caller graph for this function:

int _zbar_event_init ( zbar_event_t event)

Referenced by _zbar_event_trigger().

Here is the caller graph for this function:

int _zbar_event_wait ( zbar_event_t event,
zbar_mutex_t lock,
zbar_timer_t timeout 
)

References _zbar_timer_check(), and proc_sleep().

Referenced by _zbar_event_trigger().

Here is the call graph for this function:

Here is the caller graph for this function:

int _zbar_processor_cleanup ( zbar_processor_t *  proc)

Referenced by zbar_processor_destroy().

Here is the caller graph for this function:

int _zbar_processor_enable ( zbar_processor_t *  proc)

Referenced by zbar_processor_set_active().

Here is the caller graph for this function:

int _zbar_processor_init ( zbar_processor_t *  proc)

Referenced by zbar_processor_create().

Here is the caller graph for this function:

int _zbar_processor_input_wait ( zbar_processor_t *  proc,
zbar_event_t event,
int  timeout 
)

Referenced by _zbar_processor_handle_input(), and proc_wait_unthreaded().

Here is the caller graph for this function:

static void proc_cache_polling ( processor_state_t state)
inlinestatic

Referenced by _zbar_processor_init(), and proc_kick_handler().

Here is the caller graph for this function:

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

References _zbar_mutex_lock, _zbar_mutex_unlock, processor_state_s::kick_fds, proc_cache_polling(), and zprintf.

Referenced by _zbar_processor_init().

Here is the call graph for this function:

Here is the caller graph for this function:

static int proc_poll_inputs ( zbar_processor_t *  proc,
int  timeout 
)
inlinestatic

References processor_state_s::pre_poll_handler, and proc.

Referenced by _zbar_processor_input_wait().

Here is the caller graph for this function:

static int proc_sleep ( int  timeout)
inlinestatic

Referenced by _zbar_event_wait(), and _zbar_processor_input_wait().

Here is the caller graph for this function:

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

References _zbar_mutex_lock, _zbar_mutex_unlock, _zbar_process_image(), _zbar_processor_lock(), _zbar_processor_unlock(), zbar_image_destroy(), and zbar_video_next_image().

Referenced by _zbar_processor_enable().

Here is the call graph for this function:

Here is the caller graph for this function: