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

(define-module (g-wrapped gw-business-core))

(export <gnc:GncAddress*>)
(export <gnc:GncBillTerm*>)
(export <gnc:GncCustomer*>)
(export <gnc:GncEmployee*>)
(export <gnc:GncEntry*>)
(export <gnc:GncInvoice*>)
(export <gnc:GncJob*>)
(export <gnc:GncOrder*>)
(export <gnc:GncOwner*>)
(export <gnc:GncTaxTable*>)
(export <gnc:GncVendor*>)
(export gw:enum-<gnc:GncOwnerType>-val->int)
(export gw:enum-<gnc:GncOwnerType>-val->sym)
(export gw:enum-<gnc:GncAmountType>-val->int)
(export gw:enum-<gnc:GncAmountType>-val->sym)
(export gw:enum-<gnc:GncTaxIncluded>-val->int)
(export gw:enum-<gnc:GncTaxIncluded>-val->sym)
(export gw:enum-<gnc:GncBillTermType>-val->int)
(export gw:enum-<gnc:GncBillTermType>-val->sym)
(export gnc:invoice-from-lot)
(export gnc:invoice-from-txn)
(export gnc:invoice-owner)
(export gnc:owner-from-lot)
(export gnc:owner-parentg)
(export gnc:address-set-name)
(export gnc:address-set-addr1)
(export gnc:address-set-addr2)
(export gnc:address-set-addr3)
(export gnc:address-set-addr4)
(export gnc:address-get-name)
(export gnc:address-get-addr1)
(export gnc:address-get-addr2)
(export gnc:address-get-addr3)
(export gnc:address-get-addr4)
(export gnc:address-get-phone)
(export gnc:address-get-fax)
(export gnc:address-get-email)
(export gnc:bill-term-get-name)
(export gnc:bill-term-get-description)
(export gnc:customer-create)
(export gnc:customer-set-id)
(export gnc:customer-set-name)
(export gnc:customer-set-currency)
(export gnc:customer-get-guid)
(export gnc:customer-lookup)
(export gnc:customer-get-id)
(export gnc:customer-get-name)
(export gnc:customer-get-addr)
(export gnc:customer-get-shipaddr)
(export gnc:customer-get-notes)
(export gnc:customer-get-currency)
(export gnc:employee-get-guid)
(export gnc:employee-lookup)
(export gnc:employee-get-id)
(export gnc:customer-get-username)
(export gnc:employee-get-addr)
(export gnc:entry-get-date)
(export gnc:entry-get-description)
(export gnc:entry-get-action)
(export gnc:entry-get-quantity)
(export gnc:entry-get-inv-price)
(export gnc:entry-get-inv-discount)
(export gnc:entry-get-inv-discount-type)
(export gnc:entry-get-bill-price)
(export gnc:entry-get-inv-taxable)
(export gnc:entry-get-inv-tax-table)
(export gnc:entry-get-bill-taxable)
(export gnc:entry-get-bill-tax-table)
(export gnc:entry-get-value)
(export gnc:entry-get-tax-value)
(export gnc:entry-get-discount-value)
(export gnc:entry-get-tax-values)
(export gnc:entry-get-invoice)
(export gnc:entry-get-bill)
(export gnc:entry-get-order)
(export gnc:invoice-get-guid)
(export gnc:invoice-lookup)
(export gnc:invoice-create)
(export gnc:invoice-set-id)
(export gnc:invoice-set-owner)
(export gnc:invoice-set-date-opened)
(export gnc:invoice-set-terms)
(export gnc:invoice-set-currency)
(export gnc:invoice-get-book)
(export gnc:invoice-get-id)
(export gnc:invoice-get-owner)
(export gnc:invoice-get-date-opened)
(export gnc:invoice-get-date-posted)
(export gnc:invoice-get-date-due)
(export gnc:invoice-get-terms)
(export gnc:invoice-get-billing-id)
(export gnc:invoice-get-notes)
(export gnc:invoice-get-currency)
(export gnc:invoice-get-entries)
(export gnc:invoice-get-posted-lot)
(export gnc:invoice-get-posted-account)
(export gnc:invoice-get-posted-txn)
(export gnc:invoice-get-invoice-from-lot)
(export gnc:invoice-get-invoice-from-txn)
(export gnc:job-create)
(export gnc:job-set-id)
(export gnc:job-set-name)
(export gnc:job-set-reference)
(export gnc:job-set-owner)
(export gnc:job-get-id)
(export gnc:job-get-name)
(export gnc:job-get-reference)
(export gnc:job-get-owner)
(export gnc:job-get-guid)
(export gnc:job-lookup)
(export gnc:order-create)
(export gnc:order-set-id)
(export gnc:order-set-owner)
(export gnc:order-set-date-opened)
(export gnc:order-set-reference)
(export gnc:order-get-id)
(export gnc:order-get-owner)
(export gnc:order-get-date-opened)
(export gnc:order-get-date-closed)
(export gnc:order-get-notes)
(export gnc:order-get-reference)
(export gnc:order-get-entries)
(export gnc:owner-create)
(export gnc:owner-destroy)
(export gnc:owner-init-customer)
(export gnc:owner-init-job)
(export gnc:owner-init-vendor)
(export gnc:owner-init-employee)
(export gnc:owner-get-type)
(export gnc:owner-get-customer)
(export gnc:owner-get-job)
(export gnc:owner-get-vendor)
(export gnc:owner-get-employee)
(export gnc:owner-equal)
(export gnc:owner-get-end-owner)
(export gnc:owner-get-owner-from-lot)
(export gnc:owner-get-guid)
(export gnc:owner-get-name)
(export gnc:owner-copy-into-owner)
(export gnc:owner-is-valid?)
(export gnc:owner-get-currency)
(export gnc:taxtable-get-guid)
(export gnc:taxtable-lookup)
(export gnc:vendor-get-guid)
(export gnc:vendor-lookup)
(export gnc:vendor-get-id)
(export gnc:vendor-get-name)
(export gnc:vendor-get-addr)
(export gnc:vendor-get-notes)
(cond
 ((or (string=? (version) "1.3")
      (string=? (version) "1.3.4"))
  (dynamic-call "gw_init_wrapset_gw_business_core"
                (dynamic-link "libgw-business-core.so")))
 (else
  (dynamic-call "gw_init_wrapset_gw_business_core"
                (dynamic-link "libgw-business-core"))))
