mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
update documentation
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9974 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
parent
e10faa04b5
commit
94c46181df
@ -22,7 +22,7 @@
|
||||
/** @file policy.c
|
||||
* @breif Implement FIFO Accounting Policy.
|
||||
* @author Created by Linas Vepstas August 2003
|
||||
* @author Copyright (c) 2003 Linas Vepstas <linas@linas.org>
|
||||
* @author Copyright (c) 2003,2004 Linas Vepstas <linas@linas.org>
|
||||
*
|
||||
* This file implements the FIFO Accounting Policy (and, in the
|
||||
* future, others as well). The Accounting Polciy determines
|
||||
|
@ -31,7 +31,7 @@
|
||||
/** @file policy.h
|
||||
* @brief Implement Accounting Policy.
|
||||
* @author Created by Linas Vepstas August 2003
|
||||
* @author Copyright (c) 2003 Linas Vepstas <linas@linas.org>
|
||||
* @author Copyright (c) 2003,2004 Linas Vepstas <linas@linas.org>
|
||||
*/
|
||||
|
||||
#ifndef XACC_POLICY_H
|
||||
@ -39,10 +39,25 @@
|
||||
|
||||
typedef struct gncpolicy_s GNCPolicy;
|
||||
|
||||
/** First-in, First-out Policy */
|
||||
/** First-in, First-out Policy
|
||||
* This policy will create FIFO Lots. FIFO Lots have the following
|
||||
* properties:
|
||||
* -- The lot is started with the earliest posted split that isn't
|
||||
* a part of another lot already.
|
||||
* -- Splits are added to the lot in date order, with earliest splits
|
||||
* added first.
|
||||
* -- All splits in the lot share the same transaction currency as
|
||||
* the split that opened the lot.
|
||||
*/
|
||||
GNCPolicy *xaccGetFIFOPolicy (void);
|
||||
|
||||
/** Last-in, First-out Policy */
|
||||
/** Last-in, First-out Policy
|
||||
* This policy will create LIFO Lots. LIFO Lots have the following
|
||||
* properties:
|
||||
* -- XXX I think the implementation is broken right now.
|
||||
* -- All splits in the lot share the same transaction currency as
|
||||
* the split that opened the lot.
|
||||
*/
|
||||
GNCPolicy *xaccGetLIFOPolicy (void);
|
||||
|
||||
#endif /* XACC_POLICY_H */
|
||||
|
Loading…
Reference in New Issue
Block a user