Object Constructor | |
HBCI_API * | HBCI_API_new (int readonly, int retrievalOnly) |
void | HBCI_API_delete (HBCI_API *h) |
HBCI_Hbci * | HBCI_API_Hbci (HBCI_API *h) |
File operations | |
HBCI_Error * | HBCI_API_loadEnvironment (HBCI_API *h, const char *filename) |
HBCI_Error * | HBCI_API_saveEnvironment (const HBCI_API *h, const char *filename) |
Object Retrieval | |
const list_HBCI_Bank * | HBCI_API_bankList (const HBCI_API *h) |
HBCI_Bank * | HBCI_API_findBank (const HBCI_API *h, int country, const char *bankCode) |
HBCI_Medium * | HBCI_API_findMedium (const HBCI_API *h, const char *name) |
Convenience Object Retrieval | |
int | HBCI_API_totalAccounts (const HBCI_API *h) |
int | HBCI_API_totalUsers (const HBCI_API *h) |
Manage Objects | |
HBCI_Error * | HBCI_API_addBank (HBCI_API *h, HBCI_Bank *b, int autoDelete) |
OutboxJob Management | |
HBCI_Error * | HBCI_API_addJob (HBCI_API *h, HBCI_OutboxJob *j) |
HBCI_Error * | HBCI_API_executeQueue (HBCI_API *h, int changesAllowed) |
void | HBCI_API_clearQueueByResult (HBCI_API *h, OutboxJob_Result result) |
void | HBCI_API_clearQueueByStatus (HBCI_API *h, OutboxJob_Status status) |
User Interaction | |
void | HBCI_API_setMonitor (HBCI_API *h, HBCI_ProgressMonitor *m, int autoDelete) |
Factory Methods | |
HBCI_Bank * | HBCI_API_bankFactory (const HBCI_API *h, int country, const char *bankCode, const char *server) |
HBCI_Medium * | HBCI_API_createNewMedium (HBCI_API *h, const char *mtype, int readonly, int country, const char *bankId, const char *userid, const char *name, HBCI_Error **err) |
MediumType | HBCI_API_mediumType (HBCI_API *h, const char *mtype) |
HBCI_MediumPluginList * | HBCI_API_enumerateMediumPlugins (HBCI_API *h) |
Static Factory Methods | |
HBCI_User * | HBCI_API_userFactory (HBCI_Bank *b, HBCI_Medium *m, int mediumAutoDelete, const char *userid) |
HBCI_Customer * | HBCI_API_customerFactory (HBCI_User *u, const char *id, const char *custName) |
HBCI_Account * | HBCI_API_accountFactory (HBCI_Bank *b, const char *accountId, const char *accountSubId) |
Typedefs | |
typedef HBCI::API | HBCI_API |
This is the C-accessible type for the central OpenHBCI class HBCI::API. |
For the "real" documentation of what you can do with objects of this class, always remember to look up the member method documentation (especially if the C function is not [yet] documented). E.g., for HBCI_API_loadEnvironment
, look up the documentation of HBCI::API::loadEnvironment
.
|
This is the C-accessible type for the central OpenHBCI class HBCI::API.
For the "real" documentation of what you can do with objects of this class, always remember to look up the member method documentation (especially if the C function is not [yet] documented). E.g., for Just like in C++, once you got an existing OpenHBCI configuration file and setup, you only need a few steps to use it in C:
|
|
Creates an account object. This will NOT be automatically added to internally stored lists.
|
|
Add a bank. Add a bank to the internally stored list.
|
|
Adds a job to the internal outbox queue. Unlike in former versions you still have access to the jobs, since you only supply a pointer with this method. The HBCI_API will take ownership of this job and will delete it when it gets deleted itself, or when you call clearQueueBy{Result,Status}. So please note that your pointer to the OutboxJob might get invalid if you call clearQueueBy{Result,Status}. For now no error is returned, but maybe later this method will check if the given job fits into the current queue.
|
|
Creates a bank object. This will NOT be automatically added to internally stored lists.
|
|
Returns the list of known banks. List of known banks. May be used for browsing or saving them to disk.
|
|
Remove all jobs with the given result code.
|
|
Remove all jobs with the given status code.
|
|
Creates a new Medium object (and perhaps a new medium file). The newly created object will not be added to internally stored lists; also, no bank, user, or customer object is being created. In case of a DDV medium (chip card) there is not much to be done since all the information is on the DDV chipcard -- therefore simply the Medium object is created and returned. In case of a RDH medium (keyfile), this method will perform the following steps:
|
|
Creates a customer object. This will NOT be automatically added to the given user.
|
|
Default Destructor.
|
|
FIXME: Document this
|
|
Execute jobs in queue. This method executes all jobs in the outbox queue. The jobs remain in the queue until they get removed and deleted via HBCI_API_clearQueueByStatus() or via HBCI_API_clearQueueByResult(). Since from C you cannot pass any (reference-counting) HBCI::Pointer to this method, your C pointers will be pointing to garbage after you called HBCI_API_clearQueueBy{Status,Result}. Therefore make sure you do not use the HBCI_OutboxJob... pointers any longer after you called HBCI_API_clearQueue...
|
|
Search for a bank. Searches for a bank in the internally stored list. No joker or wildcard allowed.
|
|
Searches for a medium of the given name. It therefore checks the media of all already knowncustomers.
|
|
Upcast.
|
|
Load all banks, users and accounts.
|
|
This method returns the enum MediumType of the named mediumtype. The responsible plugin is loaded if needed.
|
|
Constructor.
|
|
Save all banks, users, accounts.
|
|
Set the current progress monitor. Set a new progress monitor to be used.
|
|
Returns the total number of accounts that exist within all banks of this API.
|
|
Returns the total number of users that exist within all banks of this API.
|
|
Creates a user object. This will NOT be automatically added to internally stored lists.
|