Remove OS abstraction layer

Migrate daemon startup code in main.c, migrate functions with a single
callsite to that file. Remove setpgrp() usage in favor of setsid(), remove
configure check for setpgrp().
This commit is contained in:
Julien BLACHE
2009-04-08 19:22:55 +02:00
parent 9d026442b2
commit e8c9a04376
14 changed files with 263 additions and 544 deletions

View File

@@ -23,8 +23,8 @@ mt_daapd_SOURCES = main.c daapd.h webserver.c \
rxml.c rxml.h redblack.c redblack.h \
scan-xml.c scan-wma.c scan-url.c \
smart-parser.c smart-parser.h xml-rpc.c xml-rpc.h \
os.h ll.c ll.h conf.c conf.h util.c util.h \
os-unix.h os-unix.c os.h plugin.c plugin.h db-sql-updates.c \
ll.c ll.h conf.c conf.h util.c util.h \
plugin.c plugin.h db-sql-updates.c \
io.h io.c io-errors.h io-plugin.h \
db-sql.c db-sql.h db-sql-sqlite3.c db-sql-sqlite3.h\
$(FLACSRC) $(MUSEPACKSRC)