2001-06-08 Dave Peticolas <dave@krondo.com>

* src/doc/design/engine.texinfo: update docs

	* src/doc/design/gnucash-design.texinfo: update docs


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@4538 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
Dave Peticolas 2001-06-08 08:22:32 +00:00
parent 697910f5aa
commit 80a037aacf
3 changed files with 35 additions and 1 deletions

View File

@ -1,3 +1,9 @@
2001-06-08 Dave Peticolas <dave@krondo.com>
* src/doc/design/engine.texinfo: update docs
* src/doc/design/gnucash-design.texinfo: update docs
2001-06-08 Robert Graham Merkel <rgmerk@mira.net>
* doc/sgml/C/xacc-file-operations.sgml, xacc-quickstart.sgml,

View File

@ -1621,10 +1621,11 @@ up based on currency, commodity, and time.
@menu
* Price Lists::
* General Price Database API::
@end menu
@node Price Lists, , Price Databases, Price Databases
@node Price Lists, General Price Database API, Price Databases, Price Databases
@subsection Price Lists
Price Lists are used by Price Databases to organize prices for a given
@ -1648,6 +1649,32 @@ on all the prices in the list.
@end deftypefun
@node General Price Database API, , Price Lists, Price Databases
@subsection General Price Database API
@deftypefun {GNCPriceDB *} gnc_pricedb_create (void)
Create and return a new price database.
@end deftypefun
@deftypefun void gnc_pricedb_destroy (GNCPriceDB * @var{db})
Destroy the price database @var{db} and unreference all of
the prices it contains. This may not deallocate all of those
prices; other code may still be holding references to them.
@end deftypefun
@deftypefun gboolean gnc_pricedb_add_price (GNCPriceDB * @var{db}, GNCPrice * @var{p})
Add the price @var{p} to @var{db}. This will increase the
reference count of @var{p}, so user code may safely drop
its reference to the price (i.e. call @code{gnc_price_unref})
if the call succeeds (returns true).
@end deftypefun
@deftypefun gboolean gnc_pricedb_remove_price (GNCPriceDB * @var{db}, GNCPrice * @var{p})
Removes the price @var{p} from the price database @var{db}. Returns true
if successful and false otherwise.
@end deftypefun
@node Splits, Transactions, Price Databases, Engine
@section Splits
@tindex Split

View File

@ -150,6 +150,7 @@ Prices
Price Databases
* Price Lists::
* General Price Database API::
Splits