At Wed, 9 Aug 2006 09:13:45 -0700,
Ask Bjørn Hansen wrote:
>
>
> On Aug 9, 2006, at 7:31, John Peacock wrote:
>
> > Just thinking out loud here, but how about this for an interface to
> > generically provide hooks to new SMTP extensions (as pseudocode):
> >
> > sub register_extension {
> > my ($COMMAND, &capability, &command, $pre, $post) = @_;
> > ....
> > }
>
> I'd prefer the register_extension sub to take named parameters, but
> other than that: +1! I don't have a use case for it, but it seems
> like it'd be useful to let &capability be a string too, for simpler
> cases.
Most everything else in qpsmtpd is positional. I don't think this
actually needs named.
-R