aqbanking  5.7.8
Typedefs | Functions
ofxhome.h File Reference
#include <aqofxconnect/aqofxconnect.h>
#include <aqofxconnect/oh_institute_data.h>
#include <aqofxconnect/oh_institute_spec.h>
#include <gwenhywfar/xml.h>

Go to the source code of this file.

Typedefs

typedef struct OFXHOME OFXHOME
 

Functions

AQOFXCONNECT_API OFXHOMEOfxHome_new (const char *dataFolder)
 
AQOFXCONNECT_API void OfxHome_free (OFXHOME *ofh)
 
AQOFXCONNECT_API const OH_INSTITUTE_SPEC_LISTOfxHome_GetSpecs (OFXHOME *ofh)
 
AQOFXCONNECT_API const OH_INSTITUTE_DATAOfxHome_GetData (OFXHOME *ofh, int fid)
 

Typedef Documentation

◆ OFXHOME

typedef struct OFXHOME OFXHOME

Definition at line 21 of file ofxhome.h.

Function Documentation

◆ OfxHome_free()

AQOFXCONNECT_API void OfxHome_free ( OFXHOME ofh)

Release the OFX data cache (this doesn't remove the files from the data folder)

Parameters
ofhpointer to the OFX data cache object to release

◆ OfxHome_GetData()

AQOFXCONNECT_API const OH_INSTITUTE_DATA* OfxHome_GetData ( OFXHOME ofh,
int  fid 
)

Returns information about the server of the given id. If this data is already in the data folder and is reasonably new it will be loaded. Otherwise it will be downloaded from "www.ofxhome.com" and saved for later reference.

Parameters
ofhpointer to the OFX data cache object
fidid of the server for which information is to be retrieved (this id can only be taken from a server spec retrieved via OfxHome_GetSpecs).
Returns
pointer to the list of server specs (or NULL on error)

◆ OfxHome_GetSpecs()

AQOFXCONNECT_API const OH_INSTITUTE_SPEC_LIST* OfxHome_GetSpecs ( OFXHOME ofh)

Returns a list of server specs (containing name and id). If there already is a list in the data folder and it is reasonably new it will be loaded. Otherwise the list is downloaded from "www.ofxhome.com" and saved for later reference.

Parameters
ofhpointer to the OFX data cache object
Returns
pointer to the list of server specs (or NULL on error)

◆ OfxHome_new()

AQOFXCONNECT_API OFXHOME* OfxHome_new ( const char *  dataFolder)

Creates an OFX data cache for www.ofxhome.com.

Parameters
datafoldercache folder