25 #ifndef GNC_SX_TTINFO_H 26 #define GNC_SX_TTINFO_H 41 TTInfo *gnc_ttinfo_malloc(
void);
43 void gnc_ttinfo_free(TTInfo *info);
46 void gnc_ttinfo_set_description(TTInfo *tti,
const char *description);
47 void gnc_ttinfo_set_num(TTInfo *tti,
const char *num);
48 void gnc_ttinfo_set_notes (TTInfo *tti,
const char *notes);
51 void gnc_ttinfo_set_currency(TTInfo *tti, gnc_commodity *common_currency);
55 void gnc_ttinfo_set_template_splits(TTInfo *tti, GList *splits);
57 const char * gnc_ttinfo_get_description(TTInfo *tti);
58 const char * gnc_ttinfo_get_num(TTInfo *tti);
59 const char *gnc_ttinfo_get_notes (TTInfo *tti);
60 gnc_commodity * gnc_ttinfo_get_currency(TTInfo *tti);
61 GList * gnc_ttinfo_get_template_splits(TTInfo *tti);
64 void gnc_ttinfo_append_template_split(TTInfo *tti, TTSplitInfo *split_i);
66 TTSplitInfo * gnc_ttsplitinfo_malloc(
void);
67 void gnc_ttsplitinfo_free(TTSplitInfo *split_i);
69 void gnc_ttsplitinfo_set_action(TTSplitInfo *split_i,
const char *action);
70 const char * gnc_ttsplitinfo_get_action(TTSplitInfo *split_i);
72 void gnc_ttsplitinfo_set_memo(TTSplitInfo *split_i,
const char *memo);
73 const char *gnc_ttsplitinfo_get_memo(TTSplitInfo *split_i);
75 void gnc_ttsplitinfo_set_credit_formula(TTSplitInfo *split_i,
76 const char *credit_formula);
78 void gnc_ttsplitinfo_set_credit_formula_numeric(TTSplitInfo *split_i,
79 gnc_numeric credit_formula);
81 const char *gnc_ttsplitinfo_get_credit_formula(TTSplitInfo *split_i);
83 void gnc_ttsplitinfo_set_debit_formula(TTSplitInfo *split_i,
84 const char *debit_formula);
86 void gnc_ttsplitinfo_set_debit_formula_numeric(TTSplitInfo *split_i,
87 gnc_numeric debit_formula);
89 const char *gnc_ttsplitinfo_get_debit_formula(TTSplitInfo *split_i);
91 void gnc_ttsplitinfo_set_account(TTSplitInfo *split_i,
Account *acc);
92 Account *gnc_ttsplitinfo_get_account(TTSplitInfo *split_i);
Account handling public routines.
Scheduled Transactions public handling routines.
Commodity handling public routines.