33 #ifndef XACC_POLICY_P_H 34 #define XACC_POLICY_P_H 66 GNCLot * (*PolicyGetLot) (GNCPolicy *, Split *split);
67 Split * (*PolicyGetSplit) (GNCPolicy *, GNCLot *lot);
68 void (*PolicyGetLotOpening) (GNCPolicy *, GNCLot *lot,
69 gnc_numeric *ret_amount,
70 gnc_numeric *ret_value,
71 gnc_commodity **ret_currency);
73 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...