make gdbm the default

This commit is contained in:
Ron Pedde 2004-04-06 15:26:46 +00:00
parent 9aa6e151bb
commit 543e8c1ee1
3 changed files with 5 additions and 3 deletions

View File

@ -23,7 +23,8 @@ mt_daapd_SOURCES = main.c daapd.h rend.h uici.c uici.h webserver.c \
daap-proto.c daap-proto.h daap.c daap.h db-gdbm.c db-memory.h \
mp3-scanner.h mp3-scanner.c playlist.c playlist.h rend-unix.c \
rend-unix.h lexer.l parser.y strcasestr.c strcasestr.h strsep.c \
$(PRENDSRC) $(ORENDSRC) $(HRENDSRC)
redblack.c redblack.h \
$(PRENDSRC) $(ORENDSRC) $(HRENDSRC)
EXTRA_DIST = mDNS.c mDNSClientAPI.h mDNSDebug.h mDNSPosix.c \
mDNSUNP.c mDNSPlatformFunctions.h mDNSPosix.h mDNSUNP.h \

View File

@ -127,7 +127,8 @@ struct rbtree *db_removed;
int db_start_initial_update(void);
int db_end_initial_update(void);
int db_is_empty(void);
int db_init(char *parameters);
int db_open(char *parameters);
int db_init();
int db_deinit(void);
int db_version(void);
int db_add(MP3FILE *mp3file);

View File

@ -481,7 +481,7 @@ int main(int argc, char *argv[]) {
}
if(db_open(config.db_dir)) {
if(db_open(config.dbdir)) {
perror("db_open");
exit(EXIT_FAILURE);
}