mirror of
https://github.com/owntone/owntone-server.git
synced 2025-02-03 09:56:00 -05:00
make gdbm the default
This commit is contained in:
parent
9aa6e151bb
commit
543e8c1ee1
@ -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 \
|
||||
|
@ -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);
|
||||
|
@ -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);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user