void csdb_deletemaildomain(maildomain *mdp);
void csdb_createmaildomain(maildomain *mdp);
void csdb_updatemaildomain(maildomain *mdp);
-void csdb_authhistory_auth(nick *np, reguser *rup);
-void csdb_authhistory_relink(nick *np, reguser *rup);
-void csdb_authhistory_disconnect(nick *np, reguser *rup);
void csdb_chanlevhistory_insert(regchan *rcp, nick *np, reguser *trup, flag_t oldflags, flag_t newflags);
void csdb_accounthistory_insert(nick *np, char *oldpass, char *newpass, sstring *oldemail, sstring *newemail);
void csdb_cleanuphistories();