Re: [Exim] Exim and IBM DB2

Etusivu
Poista viesti
Vastaa
Lähettäjä: Philip Hazel
Päiväys:  
Vastaanottaja: Alex Sharaz
Kopio: J. Phul, exim-users
Aihe: Re: [Exim] Exim and IBM DB2
On Fri, 14 Dec 2001, Alex Sharaz wrote:

> I usde db2 for various things here, what sort of code do you need,is there a "template" set of database access functions that would need
> modifying to access db2?


Each lookup has its own module, written to a common internal API which
is documented in src/lookups/README. Have a look at the source files
src/lookups/{mysql,pgsql,oracle}.{c,h} for examples.

I would at this stage only add stuff to Exim 4, but the interface hasn't
changed (apart from my wholesale shift to unsigned chars).

--
Philip Hazel            University of Cambridge Computing Service,
ph10@???      Cambridge, England. Phone: +44 1223 334714.