On Fri, Aug 02, 2002 at 11:35:30AM -0400, Kev wrote: > > I'am thinking moving NICKLEN, USERLEN, HOSTLEN, ACCOUNTLEN, REALLEN, > > PASSWDLEN, AWAYLEN, TOPICLEN, NETWORK, URL_CLIENTS to ircu feature lines. > > the *LEN #define's are very particular--they must be exactly the same > across the entire network and must not be changed during the server's > operation. Further, they are used to specify lengths of character > arrays in most cases--that specification must be computable at compile > time, in order to comply with ANSI C. Making them features is...contra- > indicated.
But the sheer fun[1] of implementing these features makes them attractive to contemplate, let alone the fun of actually trying to make any meaningful use of them.. "OK guys, we're changing NICKLEN! Everyone rehash your servers.... NOW!"[2] You should consider putting BUFSIZE on an F: as well :). splidge [1] for strange values of "fun" maybe.. reallocating all your structures and changing all your pointers at runtime without dropping anything is probably quite a challenge. [2] this assumes that you have solved the trivial problem of getting all your serveradmins awake and on IRC at the same time.