initializing currencies ??

Linas Vepstas linas@linas.org
Tue, 26 Jun 2001 00:56:51 -0500 (CDT)


Hi,

What's the right way to initialize the list of iso currencies?
When I just call gnc_book_load() from a stand-alone C program,
it gets a parse error, because ISO4217::USD is not defined.
That's because the xml file format doesn't store these currencies,
and also because the engine doesn't initialize any values for them
(the initialization is done with scheme code when running gnucash).

Since I'd like to have the engine work in a stand-alone mode, 
without sucking in any of the GUI, (so that I can run it behind a
webserver),  how should I deal with this problem?

--linas