GnuCash  2.6.18
Functions

Utilities to Automatically Compute Capital Gains/Losses. More...

#include "gnc-engine.h"

Go to the source code of this file.

Functions

gnc_numeric xaccSplitGetCapGains (Split *)
 
gboolean xaccAccountHasTrades (const Account *)
 
GNCLot * xaccAccountFindEarliestOpenLot (Account *acc, gnc_numeric sign, gnc_commodity *currency)
 
GNCLot * xaccAccountFindLatestOpenLot (Account *acc, gnc_numeric sign, gnc_commodity *currency)
 
AccountxaccAccountGetDefaultGainAccount (const Account *acc, const gnc_commodity *currency)
 
void xaccAccountSetDefaultGainAccount (Account *acc, const Account *gains_acct)
 
Split * xaccSplitGetCapGainsSplit (const Split *)
 
Split * xaccSplitGetGainsSourceSplit (const Split *)
 
gboolean xaccSplitAssign (Split *split)
 
Split * xaccSplitAssignToLot (Split *split, GNCLot *lot)
 
void xaccSplitComputeCapGains (Split *split, Account *gain_acc)
 
void xaccLotComputeCapGains (GNCLot *lot, Account *gain_acc)
 

Detailed Description

Utilities to Automatically Compute Capital Gains/Losses.

Author
Created by Linas Vepstas August 2003
Copyright (c) 2003,2004 Linas Vepstas linas.nosp@m.@lin.nosp@m.as.or.nosp@m.g

Definition in file cap-gains.h.