]> jfr.im git - irc/quakenet/newserv.git/commit - chanserv/chanserv.h
Chanserv refactoring
authorsplidge <redacted>
Sat, 2 Jun 2007 11:33:03 +0000 (12:33 +0100)
committersplidge <redacted>
Sat, 2 Jun 2007 11:33:03 +0000 (12:33 +0100)
commitb263aa7977b043ad0c79da7b017185e67e30552d
tree135d9347f646b73ceb59aa282f51895fd486cb66
parent0524ca09aca8ad892c0afadec2b844b1da72c609
Chanserv refactoring

The main change is that the database has been pulled into a separate module.
It now uses the psql module for database services.  With the other
refactoring changes to the newserv core, the chanservdb module is now
completely independent of the irc module - so the entire IRC stack can be
restarted without reloading the chanserv database.

Moved the database items into a subdirectory to make things tidier - other
sections will follow in time.

Also changed the top-level Makefile to support modules with their own
specific clean requirements - just add a "clean" target to the
subdirectory's Makefile and then add it to the CLEANDIRS list in the
top-level Makefile.
13 files changed:
chanserv/Makefile
chanserv/chanserv.c
chanserv/chanserv.h
chanserv/chanservdb.c [deleted file]
chanserv/chanservdump.c
chanserv/chanservstdcmds.c
chanserv/chanservuser.c
chanserv/database/Makefile [new file with mode: 0644]
chanserv/database/chanservdb.c [new file with mode: 0644]
chanserv/database/chanservdb_alloc.c [moved from chanserv/chanservalloc.c with 98% similarity]
chanserv/database/chanservdb_hash.c [moved from chanserv/chanservhash.c with 77% similarity]
chanserv/database/chanservdb_messages.c [moved from chanserv/chanservmessages.c with 99% similarity]
chanserv/database/chanservdb_updates.c [new file with mode: 0644]