Main Page Modules Alphabetical List Data Structures File List Data Fields Globals

# SchedXaction.h File Reference

Scheduled Transactions public handling routines. More...

`#include <time.h>`
`#include <glib.h>`
`#include "GNCId.h"`
`#include "FreqSpec.h"`
`#include "date.h"`
`#include "kvp_frame.h"`
`#include "gnc-engine.h"`

## Defines
#define | GNC_SX_ID "sched-xaction"
#define | GNC_SX_ACCOUNT "account"
#define | GNC_SX_CREDIT_FORMULA "credit-formula"
#define | GNC_SX_DEBIT_FORMULA "debit-formula"
#define | GNC_SX_SHARES "shares"
#define | GNC_SX_AMOUNT "amnt"
#define | GNC_SX_FROM_SCHED_XACTION "from-sched-xaction"
## Typedefs
typedef gncp_SchedXaction | SchedXaction
## Functions
SchedXaction * | xaccSchedXactionMalloc (GNCBook *book)
gboolean | xaccSchedXactionIsDirty (SchedXaction *sx)
void | xaccSchedXactionSetDirtyness (SchedXaction *sx, gboolean dirty_p)
void | xaccSchedXactionFree (SchedXaction *sx)
FreqSpec * | xaccSchedXactionGetFreqSpec (SchedXaction *sx)
void | xaccSchedXactionSetFreqSpec (SchedXaction *sx, FreqSpec *fs)
gchar * | xaccSchedXactionGetName (SchedXaction *sx)
void | xaccSchedXactionSetName (SchedXaction *sx, const gchar *newName)
GDate * | xaccSchedXactionGetStartDate (SchedXaction *sx)
void | xaccSchedXactionSetStartDate (SchedXaction *sx, GDate *newStart)
int | xaccSchedXactionHasEndDate (SchedXaction *sx)
GDate * | xaccSchedXactionGetEndDate (SchedXaction *sx)
void | xaccSchedXactionSetEndDate (SchedXaction *sx, GDate *newEnd)
GDate * | xaccSchedXactionGetLastOccurDate (SchedXaction *sx)
void | xaccSchedXactionSetLastOccurDate (SchedXaction *sx, GDate *newLastOccur)
gboolean | xaccSchedXactionHasOccurDef (SchedXaction *sx)
gint | xaccSchedXactionGetNumOccur (SchedXaction *sx)
void | xaccSchedXactionSetNumOccur (SchedXaction *sx, gint numNum)
gint | xaccSchedXactionGetRemOccur (SchedXaction *sx)
void | xaccSchedXactionSetRemOccur (SchedXaction *sx, gint numRemain)
gint | gnc_sx_get_instance_count (SchedXaction *sx, void *stateData)
void | gnc_sx_set_instance_count (SchedXaction *sx, gint instanceNum)
GList * | xaccSchedXactionGetSplits (SchedXaction *sx)
void | xaccSchedXactionSetSplits (SchedXaction *sx, GList *newSplits)
void | xaccSchedXactionGetAutoCreate (SchedXaction *sx, gboolean *outAutoCreate, gboolean *outNotify)
void | xaccSchedXactionSetAutoCreate (SchedXaction *sx, gboolean newAutoCreate, gboolean newNotify)
gint | xaccSchedXactionGetAdvanceCreation (SchedXaction *sx)
void | xaccSchedXactionSetAdvanceCreation (SchedXaction *sx, gint createDays)
gint | xaccSchedXactionGetAdvanceReminder (SchedXaction *sx)
void | xaccSchedXactionSetAdvanceReminder (SchedXaction *sx, gint reminderDays)
kvp_frame * | xaccSchedXactionGetSlots (SchedXaction *sx)
void | xaccSchedXactionSetSlots (SchedXaction *sx, kvp_frame *frm)
kvp_value * | xaccSchedXactionGetSlot (SchedXaction *sx, const char *slot)
void | xaccSchedXactionSetSlot (SchedXaction *sx, const char *slot, const kvp_value *value)
const GUID * | xaccSchedXactionGetGUID (SchedXaction *sx)
void | xaccSchedXactionSetGUID (SchedXaction *sx, GUID g)
void * | gnc_sx_create_temporal_state (SchedXaction *sx)
void | gnc_sx_incr_temporal_state (SchedXaction *sx, void *stateData)
void | gnc_sx_revert_to_temporal_state (SchedXaction *sx, void *stateData)
void | gnc_sx_destroy_temporal_state (void *stateData)
void * | gnc_sx_clone_temporal_state (void *stateData)
GDate | xaccSchedXactionGetNextInstance (SchedXaction *sx, void *stateData)
GDate | xaccSchedXactionGetInstanceAfter (SchedXaction *sx, GDate *date, void *stateData)
void | xaccSchedXactionSetTemplateTrans (SchedXaction *sx, GList *t_t_list, GNCBook *book)
void | gnc_sx_add_defer_instance (SchedXaction *sx, void *deferStateData)
void | gnc_sx_remove_defer_instance (SchedXaction *sx, void *deferStateData)
GList * | gnc_sx_get_defer_instances (SchedXaction *sx)

## Detailed Description

Scheduled Transactions public handling routines.