src/sbbs3 main.cpp 1.637 1.638 str.cpp 1.72 1.73 userdat.c 1.172 1.173 userdat.h 1.61 1.62
Update of /cvsroot/sbbs/src/sbbs3
In directory cvs:/tmp/cvs-serv29838
Modified Files:
main.cpp str.cpp userdat.c userdat.h
Log Message:
Create fgetuserdat() (the 'f' stands for 'fast' or 'file) -
it just calls the (newer) functions readuserdat() and parseuserdat() in a easy replacement for getuserdat() for places where all users are read in a loop
(the file is only opened one time, dramatically reducing the amount of time). Added an argument to openuserdat() so it can be used in more situations
(i.e. where the file needs to be opened for modify/create acces).
---
þ Synchronet þ Vertrauen þ Home of Synchronet þ
telnet://vert.synchro.net