ZBar Bar Code Reader Library  version 0.10
zbarcam.c File Reference

Macros

#define BELL
 

Enumerations

enum  {
  DEFAULT,
  RAW,
  XML
}
 

Functions

static void data_handler (zbar_image_t *img, const void *userdata)
 
int main (int argc, const char *argv[])
 
static int parse_config (const char *cfgstr, int i, int n, char *arg)
 
static int usage (int rc)
 

Variables

static enum { ... }  format
 
static const char * note_usage
 
static zbar_processor_t * proc
 
static int quiet
 
static char * xml_buf
 
static const char * xml_foot
 
static const char * xml_head
 
static unsigned xml_len
 

Macro Definition Documentation

#define BELL

Referenced by data_handler().

Enumeration Type Documentation

anonymous enum
Enumerator
DEFAULT 
RAW 
XML 

Function Documentation

static void data_handler ( zbar_image_t *  img,
const void userdata 
)
static
static int parse_config ( const char *  cfgstr,
int  i,
int  n,
char *  arg 
)
inlinestatic

References fprintf(), proc, and zbar::zbar_processor_parse_config().

Referenced by main().

Here is the call graph for this function:

Here is the caller graph for this function:

static int usage ( int  rc)
static

References fprintf(), and note_usage.

Referenced by main().

Here is the call graph for this function:

Here is the caller graph for this function:

Variable Documentation

const char* note_usage
static

Referenced by usage().

zbar_processor_t* proc
static

Referenced by main(), and parse_config().

char* xml_buf
static

Referenced by data_handler().

const char* xml_foot
static

Referenced by main().

const char* xml_head
static

Referenced by main().

unsigned xml_len
static

Referenced by data_handler().