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

Typedefs

typedef voidcb_t) (void *userdata, const char *device)
 

Functions

int scan_video (cb_t add_device, void *_userdata, const char *default_device)
 
static int video_filter (const char *fpath, const struct stat *sb, int typeflag)
 

Variables

static cb_tadd_dev
 
static const char * default_dev
 
static int default_idx
 
static int idx
 
static voiduserdata
 

Typedef Documentation

typedef void( cb_t) (void *userdata, const char *device)

Function Documentation

int scan_video ( cb_t  add_device,
void _userdata,
const char *  default_device 
)

References add_dev, default_dev, default_idx, idx, userdata, and video_filter().

Here is the call graph for this function:

static int video_filter ( const char *  fpath,
const struct stat *  sb,
int  typeflag 
)
static

References add_dev, default_dev, default_idx, idx, and userdata.

Referenced by scan_video().

Here is the caller graph for this function:

Variable Documentation

cb_t* add_dev
static

Referenced by scan_video(), and video_filter().

const char* default_dev
static

Referenced by scan_video(), and video_filter().

int default_idx
static

Referenced by scan_video(), and video_filter().