Main Page | Modules | Class Hierarchy | Alphabetical List | Data Structures | Directories | File List | Data Fields | Globals | Related Pages

aqdtaus/job.h

Go to the documentation of this file.
00001 /***************************************************************************
00002  $RCSfile: job.h,v $
00003                              -------------------
00004     cvs         : $Id: job.h,v 1.1 2005/08/08 02:24:40 aquamaniac Exp $
00005     begin       : Mon Mar 01 2004
00006     copyright   : (C) 2004 by Martin Preuss
00007     email       : martin@libchipcard.de
00008 
00009  ***************************************************************************
00010  *          Please see toplevel file COPYING for license details           *
00011  ***************************************************************************/
00012 
00013 #ifndef AD_JOB_H
00014 #define AD_JOB_H
00015 
00016 #include <aqbanking/account_be.h>
00017 #include <aqbanking/transaction.h>
00018 #include <aqdtaus/provider.h>
00019 #include <aqdtaus/account.h>
00020 #include <gwenhywfar/misc.h>
00021 
00022 
00023 #ifdef __cplusplus
00024 extern "C" {
00025 #endif
00026 
00027 
00028 typedef struct AD_JOB AD_JOB;
00029 GWEN_LIST_FUNCTION_DEFS(AD_JOB, AD_Job)
00030 
00031 AD_JOB *AD_Job_new(AB_ACCOUNT *acc, int isDebitJob, GWEN_TYPE_UINT32 jid);
00032 void AD_Job_free(AD_JOB *dj);
00033 
00034 void AD_Job_AddTransfer(AD_JOB *dj, AB_TRANSACTION *t);
00035 int AD_Job_GetTransferCount(const AD_JOB *dj);
00036 AB_TRANSACTION_LIST2 *AD_Job_GetTransfers(const AD_JOB *dj);
00037 
00038 int AD_Job_GetIsDebitNote(const AD_JOB *dj);
00039 
00040 AB_ACCOUNT *AD_Job_GetAccount(const AD_JOB *dj);
00041 
00042 GWEN_TYPE_UINT32 AD_Job_GetJobId(const AD_JOB *dj);
00043 
00044 void AD_Job_SetResult(AD_JOB *dj, int code, const char *text);
00045 int AD_Job_GetResultCode(const AD_JOB *dj);
00046 const char *AD_Job_GetResultText(const AD_JOB *dj);
00047 
00048 #ifdef __cplusplus
00049 }
00050 #endif
00051 
00052 
00053 #endif

Generated on Thu Oct 6 14:49:08 2005 for aqbanking by  doxygen 1.4.4