#ifndef _EPHOTO_DATABASE_H_ #define _EPHOTO_DATABASE_H_ #include "ephoto.h" void ephoto_db_init(sqlite3 *db); void ephoto_db_close(sqlite3 *db); int ephoto_db_add_album(sqlite3 *db, char *album); int ephoto_db_add_file(sqlite3 *db, char *album, char *filename); int ephoto_db_remove_album(sqlite3 *db, char *album); int ephoto_db_remove_file(sqlite3 *db, char *album, char *filename); Ecore_List *ephoto_db_read(sqlite3 *db); typedef struct _ListItem LITEM; struct _ListItem { char *album_name; Ecore_List *album_images; }; #endif