🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #38308

Re: News server architecture (was: Submitting to Freenix)

#38308
From: Russ Allbery
Date: Mon, 28 Jun 1999 00:00
20 lines
1318 bytes
Aidan Cully <aidan@panix.com> writes:

> Agreed..  If we can avoid just a whole bunch of functions with the basic
> structure
> if (innconf->varname) {
>     first_api();
> } else {
>     second_api();
> }
> .  innconf->extendeddbz really made INN quite a bit more annoying to
> hack for quite a while.  IMHO.

Oh, agreed, I'm with you there.  The place to put the alternatives is not
in the API.  It's in the code *behind* the API.  The rest of INN should be
able to just use the same API and not care.

-- 
Russ Allbery (rra@stanford.edu)         <URL:http://www.eyrie.org/~eagle/>

Technical Details
Message-ID: <ylaetkekqh.fsf@windlord.stanford.edu>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail
References: <7g24e7$ckh$1@info.cs.uofs.edu> <7l5p6n$1kf$1@news.panix.com> <yl6lnd5uv4g.fsf@intrepid.ecn.ou.edu> <ylaetljfxu.fsf@windlord.stanford.edu> <7l7829$cvh$1@news.panix.com>

Show Full Headers
Complete Article Headers
Message-ID: <ylaetkekqh.fsf@windlord.stanford.edu>
Subject: Re: News server architecture (was: Submitting to Freenix)
Date: Mon, 28 Jun 1999 00:00:00 +0000
From: Russ Allbery <rra@stanford.edu>
References: <7g24e7$ckh$1@info.cs.uofs.edu> <7l5p6n$1kf$1@news.panix.com> <yl6lnd5uv4g.fsf@intrepid.ecn.ou.edu> <ylaetljfxu.fsf@windlord.stanford.edu> <7l7829$cvh$1@news.panix.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail
X-Deja-AN: 494705476
Distribution: inet
Organization: The Eyrie
Newsgroups: news.software.nntp