33 #ifndef XACC_POLICY_P_H 34 #define XACC_POLICY_P_H 69 GNCLot * (*PolicyGetLot) (GNCPolicy *, Split *split);
70 Split * (*PolicyGetSplit) (GNCPolicy *, GNCLot *lot);
71 void (*PolicyGetLotOpening) (GNCPolicy *, GNCLot *lot,
72 gnc_numeric *ret_amount,
73 gnc_numeric *ret_value,
74 gnc_commodity **ret_currency);
76 gboolean (*PolicyIsOpeningSplit) (GNCPolicy *, GNCLot *lot,
Implement Accounting Policy.
All type declarations for the whole Gnucash engine.
The Policy routines try to encapsulate the FIFO/LIFO-specific parts of the cap-gains routine...