diff options
author | John Wiegley <johnw@newartisans.com> | 2005-11-09 07:11:22 +0000 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2008-04-13 02:41:21 -0400 |
commit | f691735c6ce89a19356769084449d3f5691ab030 (patch) | |
tree | df7a5de60353d3558b00d21ee83cf01e8da56331 /ledger.h | |
parent | 3a689c568a715e7c6604825eab537d66333ce291 (diff) | |
download | fork-ledger-f691735c6ce89a19356769084449d3f5691ab030.tar.gz fork-ledger-f691735c6ce89a19356769084449d3f5691ab030.tar.bz2 fork-ledger-f691735c6ce89a19356769084449d3f5691ab030.zip |
Restructed the code that it can build and be used as a shared library.
The command-line version is still statically bound in the build
process by default (for the sake of speed).
Diffstat (limited to 'ledger.h')
-rw-r--r-- | ledger.h | 12 |
1 files changed, 11 insertions, 1 deletions
@@ -26,7 +26,6 @@ #include <reconcile.h> #include <error.h> #include <option.h> -#include <config.h> #include <parser.h> #include <textual.h> @@ -36,4 +35,15 @@ #include <qif.h> #include <ofx.h> +namespace ledger { + extern parser_t * binary_parser_ptr; + extern parser_t * xml_parser_ptr; + extern parser_t * gnucash_parser_ptr; + extern parser_t * ofx_parser_ptr; + extern parser_t * qif_parser_ptr; + extern parser_t * textual_parser_ptr; +} + +#include <config.h> + #endif // _LEDGER_H |