32 #include "gnc-guile-utils.h"
37 SCM gnc_scm_lookup(
const char *module,
const char *symbol);
41 gboolean gnc_is_split_scm(SCM scm);
42 gboolean gnc_is_trans_scm(SCM scm);
44 SCM gnc_copy_split(
Split *split, gboolean use_cut_semantics);
45 void gnc_copy_split_scm_onto_split(SCM split_scm,
Split *split,
48 void gnc_split_scm_set_account(SCM split_scm,
Account *account);
49 void gnc_split_scm_set_memo(SCM split_scm,
const char *memo);
50 void gnc_split_scm_set_action(SCM split_scm,
const char *action);
51 void gnc_split_scm_set_reconcile_state(SCM split_scm,
char reconcile_state);
52 void gnc_split_scm_set_amount(SCM split_scm,
gnc_numeric amount);
53 void gnc_split_scm_set_value(SCM split_scm,
gnc_numeric value);
55 char * gnc_split_scm_get_memo(SCM split_scm);
56 char * gnc_split_scm_get_action(SCM split_scm);
57 gnc_numeric gnc_split_scm_get_amount(SCM split_scm);
60 SCM gnc_copy_trans(
Transaction *trans, gboolean use_cut_semantics);
61 void gnc_copy_trans_scm_onto_trans(SCM trans_scm,
Transaction *trans,
62 gboolean do_commit,
QofBook *book);
63 void gnc_copy_trans_scm_onto_trans_swap_accounts(SCM trans_scm,
70 void gnc_trans_scm_set_date(SCM trans_scm,
Timespec *ts);
71 void gnc_trans_scm_set_num(SCM trans_scm,
const char *num);
72 void gnc_trans_scm_set_description(SCM trans_scm,
const char *description);
73 void gnc_trans_scm_set_notes(SCM trans_scm,
const char *notes);
74 void gnc_trans_scm_append_split_scm(SCM trans_scm, SCM split_scm);
76 SCM gnc_trans_scm_get_split_scm(SCM trans_scm,
int index);
77 SCM gnc_trans_scm_get_other_split_scm(SCM trans_scm, SCM split_scm);
78 int gnc_trans_scm_get_num_splits(SCM trans_scm);
101 Process *gnc_spawn_process_async(GList *argl,
const gboolean search_path);
112 gint gnc_process_get_fd(
const Process *proc,
const gint std_fd);
120 void gnc_detach_process(
Process *proc,
const gboolean kill_it);
130 time64 gnc_parse_time_to_time64 (
const gchar *s,
const gchar *format);
Use a 64-bit unsigned int timespec.
Account handling public routines.