;; Generated by G-Wrap: an experimental Guile C API-wrapper engine.

(define-module (g-wrapped gw-engine))

(export <gnc:GList*>)
(export <gnc:id-type>)
(export <gnc:Account*>)
(export <gnc:Account**>)
(export <gnc:InvAcct*>)
(export <gnc:AccInfo*>)
(export <gnc:AccountGroup*>)
(export <gnc:Book*>)
(export <gnc:Lot*>)
(export <gnc:Session*>)
(export <gnc:Split*>)
(export <gnc:Transaction*>)
(export <gnc:commodity*>)
(export <gnc:commodity-table*>)
(export <gnc:Query*>)
(export gw:enum-<gnc:event-type>-val->int)
(export gw:enum-<gnc:event-type>-val->sym)
(export gw:enum-<gnc:query-op>-val->int)
(export gw:enum-<gnc:query-op>-val->sym)
(export gw:enum-<gnc:query-compare-how>-val->int)
(export gw:enum-<gnc:query-compare-how>-val->sym)
(export gw:enum-<gnc:string-match-how>-val->int)
(export gw:enum-<gnc:string-match-how>-val->sym)
(export gw:enum-<gnc:date-match-how>-val->int)
(export gw:enum-<gnc:date-match-how>-val->sym)
(export gw:enum-<gnc:numeric-match-how>-val->int)
(export gw:enum-<gnc:numeric-match-how>-val->sym)
(export gw:enum-<gnc:cleared-match-how>-val->int)
(export gw:enum-<gnc:cleared-match-how>-val->sym)
(export gw:enum-<gnc:guid-match-how>-val->int)
(export gw:enum-<gnc:guid-match-how>-val->sym)
(export gw:enum-<gnc:char-match-how>-val->int)
(export gw:enum-<gnc:char-match-how>-val->sym)
(export gw:enum-<gnc:query-txn-match-t>-val->int)
(export gw:enum-<gnc:query-txn-match-t>-val->sym)
(export gw:enum-<gnc:kvp-value-t>-val->int)
(export gw:enum-<gnc:kvp-value-t>-val->sym)
(export gw:enum-<gnc:AccountType>-val->int)
(export gw:enum-<gnc:AccountType>-val->sym)
(export gw:enum-<gnc:BackendError>-val->int)
(export gw:enum-<gnc:BackendError>-val->sym)
(export gnc:id-account)
(export gnc:id-book)
(export gnc:id-lot)
(export gnc:id-price)
(export gnc:id-split)
(export gnc:id-schedxaction)
(export gnc:id-session)
(export gnc:id-trans)
(export gnc:query-default-sort)
(export gnc:split-lot)
(export gnc:split-trans)
(export gnc:split-account)
(export gnc:split-value)
(export gnc:split-memo)
(export gnc:split-date-reconciled)
(export gnc:trans-date-posted)
(export gnc:trans-desc)
(export gnc:trans-num)
(export gnc:account-name)
(export gnc:account-code)
(export gnc:split-account-fullname)
(export gnc:split-corr-account-fullname)
(export gnc:split-corr-account-code)
(export gnc:transaction-type-none)
(export gnc:transaction-type-invoice)
(export gnc:transaction-type-payment)
(export gnc:guid-new)
(export gnc:split-get-guid)
(export gnc:split-lookup)
(export gnc:split-get-balance)
(export gnc:split-get-memo)
(export gnc:split-get-action)
(export gnc:split-get-reconcile-state)
(export gnc:split-get-reconciled-date)
(export gnc:split-get-amount)
(export gnc:split-get-share-price)
(export gnc:split-get-value)
(export gnc:split-get-account)
(export gnc:split-get-parent)
(export gnc:split-get-other-split)
(export gnc:split-compare-account-full-names)
(export gnc:split-compare-account-codes)
(export gnc:split-compare-other-account-full-names)
(export gnc:split-compare-other-account-codes)
(export gnc:split-get-corr-account-name)
(export gnc:split-get-corr-account-full-name-internal)
(export gnc:split-get-corr-account-code)
(export gnc:split-get-lot)
(export gnc:transaction-get-guid)
(export gnc:transaction-lookup)
(export gnc:transaction-get-split)
(export gnc:transaction-get-splits)
(export gnc:transaction-get-num)
(export gnc:transaction-get-description)
(export gnc:transaction-get-notes)
(export gnc:transaction-void)
(export gnc:transaction-get-void-status)
(export gnc:transaction-get-void-reason)
(export gnc:transaction-order)
(export gnc:split-void-former-amount)
(export gnc:split-void-former-value)
(export gnc:dmy2timespec)
(export gnc:transaction-get-date-posted)
(export gnc:transaction-get-date-entered)
(export gnc:transaction-set-date-posted)
(export gnc:transaction-set-date-entered)
(export gnc:transaction-get-split-count)
(export gnc:transaction-get-currency)
(export gnc:transaction-set-currency)
(export gnc:transaction-get-account-value)
(export gnc:transaction-get-txn-type)
(export gnc:malloc-account)
(export gnc:account-destroy)
(export gnc:account-begin-edit)
(export gnc:account-commit-edit)
(export gnc:account-insert-split)
(export gnc:account-fix-split-date-order)
(export gnc:trans-fix-split-date-order)
(export gnc:account-order)
(export gnc:account-set-type)
(export gnc:account-set-name)
(export gnc:account-set-code)
(export gnc:account-set-description)
(export gnc:account-set-notes)
(export gnc:account-set-tax-related)
(export gnc:account-get-guid)
(export gnc:account-lookup)
(export gnc:account-get-type-string)
(export gnc:account-get-type)
(export gnc:account-get-name)
(export gnc:account-get-code)
(export gnc:account-get-description)
(export gnc:account-get-notes)
(export gnc:account-get-commodity)
(export gnc:account-set-commodity)
(export gnc:account-get-tax-related)
(export gnc:account-get-tax-US-code)
(export gnc:account-get-tax-US-payer-name-source)
(export gnc:account-get-price-src)
(export gnc:account-get-quote-tz)
(export gnc:account-get-children)
(export gnc:account-get-parent)
(export gnc:account-get-parent-account)
(export gnc:account-get-balance)
(export gnc:account-get-cleared-balance)
(export gnc:account-get-reconciled-balance)
(export gnc:account-get-split-list)
(export gnc:malloc-account-group)
(export gnc:account-group-begin-edit)
(export gnc:account-group-commit-edit)
(export gnc:account-group-destroy)
(export gnc:group-get-book)
(export gnc:group-merge-accounts)
(export gnc:group-concat-group)
(export gnc:group-get-num-subaccounts)
(export gnc:group-get-num-accounts)
(export gnc:group-get-account)
(export gnc:get-account-from-full-name)
(export gnc:group-get-parent)
(export gnc:group-insert-account)
(export gnc:account-insert-subaccount)
(export gnc:group-get-subaccounts)
(export gnc:group-get-account-list)
(export gnc:group-begin-staged-transaction-traversals)
(export gnc:group-staged-transaction-traversal)
(export gnc:account-staged-transaction-traversal)
(export gnc:account-get-lot-list)
(export <gnc:PriceDB*>)
(export <gnc:Price*>)
(export gnc:price-create)
(export gnc:price-get-guid)
(export gnc:price-unref)
(export gnc:price-set-commodity)
(export gnc:price-set-currency)
(export gnc:price-set-time)
(export gnc:price-set-source)
(export gnc:price-set-type)
(export gnc:price-set-value)
(export gnc:price-get-value)
(export gnc:price-get-commodity)
(export gnc:price-get-currency)
(export gnc:price-get-time)
(export gnc:pricedb-add-price)
(export gnc:price-list-destroy)
(export gnc:pricedb-lookup-latest)
(export gnc:pricedb-lookup-latest-any-currency)
(export gnc:pricedb-lookup-nearest-in-time)
(export gnc:pricedb-lookup-nearest-in-time-any-currency)
(export gnc:pricedb-get-prices)
(export gnc:pricedb-lookup-at-time)
(export gnc:pricedb-lookup-day)
(export gnc:pricedb-convert-balance-latest-price)
(export gnc:pricedb-convert-balance-nearest-price)
(export gnc:session-new)
(export gnc:session-destroy)
(export gnc:session-get-book)
(export gnc:session-begin)
(export gnc:session-load)
(export gnc:session-save)
(export gnc:session-export)
(export gnc:session-set-callback)
(export gnc:session-end)
(export gnc:book-get-group)
(export gnc:book-get-commodity-table)
(export gnc:book-get-pricedb)
(export gnc:book-kvp-changed)
(export gnc:session-get-error)
(export gnc:session-get-url)
(export gnc:session-pop-error)
(export gnc:set-log-level-global)
(export gnc:print-date)
(export gnc:transaction-destroy)
(export gnc:transaction-begin-edit)
(export gnc:transaction-commit-edit)
(export gnc:transaction-is-open)
(export gnc:split-destroy)
(export gnc:transaction-append-split)
(export gnc:transaction-set-date)
(export gnc:transaction-set-date-time-pair)
(export gnc:transaction-set-xnum)
(export gnc:transaction-set-description)
(export gnc:transaction-set-notes)
(export gnc:transaction-create)
(export gnc:split-create)
(export gnc:split-set-value)
(export gnc:split-set-base-value)
(export gnc:split-set-memo)
(export gnc:split-set-action)
(export gnc:split-set-reconcile)
(export d-gnc:split-set-share-price)
(export gnc:split-set-share-price)
(export gnc:split-set-amount)
(export gnc:split-set-share-price-and-amount)
(export gnc:malloc-query)
(export gnc:query-create)
(export gnc:query-create-for)
(export gnc:query-search-for)
(export gnc:free-query)
(export gnc:query-set-book)
(export gnc:query-invert)
(export gnc:query-merge)
(export gnc:query-clear)
(export gnc:query-purge-terms)
(export gnc:query-has-terms?)
(export gnc:query-get-splits)
(export gnc:query-get-splits-unique-trans)
(export gnc:query-get-transactions)
(export gnc:query-get-lots)
(export gnc:query-add-account-match)
(export gnc:query-add-single-account-match)
(export gnc:query-add-description-match)
(export gnc:query-add-number-match)
(export gnc:query-add-action-match)
(export gnc:query-add-share-price-match)
(export gnc:query-add-shares-match)
(export gnc:query-add-value-match)
(export gnc:query-add-date-match)
(export gnc:query-add-date-match-timepair)
(export gnc:query-add-memo-match)
(export gnc:query-add-cleared-match)
(export gnc:query-add-guid-match)
(export gnc:query-set-sort-order)
(export gnc:query-set-sort-increasing)
(export gnc:query-set-max-results)
(export gnc:query->scm)
(export gnc:scm->query)
(export gnc:commodity-create)
(export gnc:commodity-destroy)
(export gnc:commodity-get-mnemonic)
(export gnc:commodity-get-namespace)
(export gnc:commodity-get-printname)
(export gnc:commodity-get-fullname)
(export gnc:commodity-get-exchange-code)
(export gnc:commodity-get-fraction)
(export gnc:commodity-equiv?)
(export gnc:commodity-table-new)
(export gnc:commodity-table-lookup)
(export gnc:commodity-table-find-full)
(export gnc:commodity-table-insert)
(export gnc:commodity-table-has-namespace)
(export gnc:commodity-table-get-namespaces)
(export gnc:commodity-table-add-namespace)
(export gnc:commodity-table-delete-namespace)
(export gnc:commodity-table-get-commodities)
(export gnc:commodity-table-add-default-data)
(export gnc:engine-shutdown)
(export gnc:numeric-create)
(export gnc:numeric-zero)
(export gnc:numeric-error)
(export gnc:numeric-check)
(export gnc:numeric-num)
(export gnc:numeric-denom)
(export gnc:numeric-zero-p)
(export gnc:numeric-compare)
(export gnc:numeric-negative-p)
(export gnc:numeric-positive-p)
(export gnc:numeric-eq)
(export gnc:numeric-equal)
(export gnc:numeric-same)
(export gnc:numeric-add)
(export gnc:numeric-sub)
(export gnc:numeric-mul)
(export gnc:numeric-div)
(export gnc:numeric-neg)
(export gnc:numeric-abs)
(export gnc:numeric-add-fixed)
(export gnc:numeric-sub-fixed)
(export gnc:numeric-convert)
(export gnc:double-to-gnc-numeric)
(export gnc:numeric-to-double)
(export gnc:numeric-to-string)
(export gnc:run-rpc-server)
(export gnc:timepair-canonical-day-time)
(export gnc:lot-get-balance)
(export gnc:lot-closed?)
(export gnc:lot-get-splits)
(export gnc:engine-suspend-events)
(export gnc:engine-resume-events)
(cond
 ((or (string=? (version) "1.3")
      (string=? (version) "1.3.4"))
  (dynamic-call "gw_init_wrapset_gw_engine"
                (dynamic-link "libgw-engine.so")))
 (else
  (dynamic-call "gw_init_wrapset_gw_engine"
                (dynamic-link "libgw-engine"))))
