Re: API-Addition

Benoit Grégoire <[email protected]> Thu, 21 Apr 2005 09:08:12 -0400
Newsgroups gmane.comp.finance.libofx.devel
Organization Technologie Coeus
Message-ID <[email protected]>
On Wednesday 20 April 2005 15:28, Martin Preuss wrote:
> Hi,
>
> On Wednesday 20 April 2005 16:41, Benoit Grégoire wrote:
> > On Wednesday 20 April 2005 06:13, Martin Preuss wrote:
> > > On Wednesday 20 April 2005 11:38, Martin Preuss wrote:
>
> [...]
>
> > I'd like to veto that.  As I said before, Libofx is moving AWAY from
> > sending the OFX data as it is, I am trying to abstract and interpret as
> > much as it can from it to shield the application from bad bank
> > implementations and difficulties of interpretation (Investment
> > transactions are especially problematic).  Not having structs with
> > several dozens of elements each is a positive and important side effect.
>
> [...]
> How about introducing a new layer for exactly this purpose of yours ? This
> new layer could parse or interprete the elements as you like.
> Other applications - those which are currently using LibOFX - could then
> simply use the now existing API (with the addition of some fields I asked
> for) which could be called "Low Level API".
>
> This way everybody gets what he needs ;-)

Yes, except it has to be the other way around, simple API in libofx.h along 
with library initialisation and other misc bits, and low lever api in another 
file.  libofx_direct_connect.h sounds just fine ;)
-- 
Benoit Grégoire, http://benoitg.coeus.ca/
signature.asc (application/pgp-signature, 189 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQBCZ6W+mZ6zzPlLuwMRAlBOAJ9rc6dDESY7jK37X0G3Dnm3HLAvXACgn+dX
wWA9MxE3FmLyGvAkyX8pHGc=
=oz5b
-----END PGP SIGNATURE-----