src/lib/lightmediascanner_db_image.c File Reference

#include <lightmediascanner_db.h>
#include "lightmediascanner_db_private.h"
#include <stdlib.h>
#include <stdio.h>

Include dependency graph for lightmediascanner_db_image.c:

Go to the source code of this file.

Functions

lms_db_image_tlms_db_image_new (sqlite3 *db)
int lms_db_image_start (lms_db_image_t *ldi)
int lms_db_image_free (lms_db_image_t *ldi)
int lms_db_image_add (lms_db_image_t *ldi, struct lms_image_info *info)


Function Documentation

int lms_db_image_add ( lms_db_image_t ldi,
struct lms_image_info info 
)

Add image file to DB.

This is usually called from plugin's parse() callback.

Parameters:
ldi handle returned by lms_db_image_new().
info image information to store.
Returns:
On success 0 is returned.

Definition at line 273 of file lightmediascanner_db_image.c.

References lms_image_info::id.


Generated on Thu Dec 13 02:04:04 2007 for Light Media Scanner by  doxygen 1.5.2