#include <stdio.h>#include <stdlib.h>#include <sqlite3.h>// constructorsqlite3 ephoto_db_init(void);// destructorvoid ephoto_db_destroy(sqlite3 *);// add a thumb to an album// (db,"/path/to/thumb", "albumanme")// returns 1 on failureint ephoto_db_add(sqlite3 *,char *,char *);// remove a thumb from an album// (db,"/path/to/thumb","albumname")// returns 1 on failureint ephoto_db_remove(sqlite3 *,char *,char *);// get a lits of albums along with thier commponent thumbs// returns linkedlist belowALBUMS ephoto_db_read(sqlite3 *);typedef struct *_Albums { char name[NAME_MAX]; ALBUMS next; ALBUM_ITEMS filelist;}; ALBUMStypedef struct _Filelist { char *Filename; struct _FILELIST;}; ALBUM_ITEMS