Pedantic documentation addition Re: [Exim] local_scan api ve…

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Dr Andrew C Aitchison
Date:  
À: Marc MERLIN
CC: Exim-users
Anciens-sujets: [Exim] local_scan api version proposal
Nouveaux-sujets: [Exim] New Install - 1 of 2 message files is always owned by root!, Re: [Exim] local_scan api version proposal
Sujet: Pedantic documentation addition Re: [Exim] local_scan api version proposal
On Sat, 15 Mar 2003, Marc MERLIN wrote:

> I'll attach the whole patch (not that long) that I revised to support
> a local_scan API version number which looks like x.y
> x -> major number, only gets increased if API is changed in a non
>      backwards compatible way
> y -> minor number, gets increased every time you add features of the API

>
> Goal:
> if a module's x is lower than exim's then exim knows that the module
> was build for an older, incompatible version of the API, and won't run
> it.
> If

-- insert --
the module's x is higher than exim's, or
-- end insert --
> both x are equal but the module's y is higher than exim's, it means that
> the module was built against an exim that had more features in the API
> than the current running one, and that therefore it's not safe to run
> the module either.
> if both x are equal and the module's y is smaller or equal to exim's,
> it means that exim has all the features that the module expected when it
> was built (maybe more, but the module won't know or care)


--
Dr. Andrew C. Aitchison        Computer Officer, DPMMS, Cambridge
A.C.Aitchison@???    http://www.dpmms.cam.ac.uk/~werdna