80 #ifndef XACC_CAP_GAINS_H 81 #define XACC_CAP_GAINS_H 126 gnc_commodity *currency);
127 GNCLot * xaccAccountFindLatestOpenLot (
Account *acc,
129 gnc_commodity *currency);
210 void xaccLotComputeCapGains (GNCLot *lot,
Account *gain_acc);
GNCLot * xaccAccountFindEarliestOpenLot(Account *acc, gnc_numeric sign, gnc_commodity *currency)
The xaccAccountFindEarliestOpenLot() method is a handy utility routine for finding the earliest open ...
void xaccSplitComputeCapGains(Split *split, Account *gain_acc)
The xaccSplitComputeCapGains() routine computes the cap gains or losses for the indicated split...
gboolean xaccAccountHasTrades(const Account *)
The xaccAccountHasTrades() method checks to see if the indicated account is used in the trading of co...
Split * xaccSplitGetGainsSourceSplit(const Split *)
The xaccSplitGetGainsSourceSplit() routine returns the split that is the source of the cap gains in t...
gnc_numeric xaccSplitGetCapGains(Split *)
The xaccSplitGetCapGains() method returns the value of capital gains (if any) associated with the ind...
Split * xaccSplitGetCapGainsSplit(const Split *)
The xaccSplitGetCapGainsSplit() routine returns the split that records the cap gains for this split...
All type declarations for the whole Gnucash engine.
Split * xaccSplitAssignToLot(Split *split, GNCLot *lot)
The xaccSplitAssignToLot() routine will fit the indicated split into the indicated lot...
gboolean xaccSplitAssign(Split *split)
The`xaccSplitAssign() routine will take the indicated split and, if it doesn't already belong to a lo...