Debian Codegraph @

src/libs/plugins/backends/aqhbci/ajobs/accountjob_ntl.c

raw symbols SCIP
1 /***************************************************************************
2 begin : Mon Mar 01 2004
3 copyright : (C) 2025 by Martin Preuss
4 email : [email protected]
5
6 ***************************************************************************
7 * Please see toplevel file COPYING for license details *
8 ***************************************************************************/
9
10
11 #ifdef HAVE_CONFIG_Hcxx . . $ `<built-in>:410:9`!
12 # include <config.h>cxx . . $ `<file>/config.h`/
13 #endif
14
15
16 #include "accountjob_ntl.h"cxx . . $ `<file>/src/libs/plugins/backends/aqhbci/ajobs/accountjob_ntl.h`/
17 #include "aqhbci/aqhbci_l.h"cxx . . $ `<file>/src/libs/plugins/backends/aqhbci/aqhbci_l.h`/
18 #include "aqhbci/ajobs/accountjob_l.h"cxx . . $ `<file>/src/libs/plugins/backends/aqhbci/ajobs/accountjob_l.h`/
19
20 #include <gwenhywfar/debug.h>
21 #include <gwenhywfar/misc.h>
22 #include <gwenhywfar/inherit.h>
23 #include <gwenhywfar/gwentime.h>
24 #include <gwenhywfar/gui.h>
25
26 #include <assert.h>
27
28
29
30 /* ------------------------------------------------------------------------------------------------
31 * forward declarations
32 * ------------------------------------------------------------------------------------------------
33 */
34
35
36
37 /* ------------------------------------------------------------------------------------------------
38 * implementations
39 * ------------------------------------------------------------------------------------------------
40 */
41
42
43 AH_JOBcxx . . $ AH_JOB# *AH_NationalAccountJob_newcxx . . $ AH_NationalAccountJob_new(9ba7d099f8096dfa).(const char *name,
44 AB_PROVIDERcxx . . $ AB_PROVIDER# *pro,
45 AB_USERcxx . . $ AB_USER# *u,
46 AB_ACCOUNTcxx . . $ AB_ACCOUNT# *account)
47 {
48 AH_JOBcxx . . $ AH_JOB# *j;
49 GWEN_DB_NODEcxx . . $ GWEN_DB_NODE# *dbArgs;
50 const char *s;
51
52 j=AH_AccountJob_newcxx . . $ AH_AccountJob_new(9ba7d099f8096dfa).(name, pro, u, account);
53 if (j==NULLcxx . . $ `<external>/15298297234472979974/stddef.h:419:9`!) {
54 DBG_INFOcxx . . $ `<external>/1532518586372551407/debug.h:181:10`!(AQHBCI_LOGDOMAINcxx . . $ `src/libs/plugins/backends/aqhbci/aqhbci.h:61:9`!, "here");
55 return NULLcxx . . $ `<external>/15298297234472979974/stddef.h:419:9`!;
56 }
57
58 /* set some known arguments */
59 dbArgs=AH_Job_GetArgumentscxx . . $ AH_Job_GetArguments(4e67497c2c36d80e).(j);
60 assertcxx . . $ `/usr/include/assert.h:118:11`!(dbArgs);
61
62 /* set national account spec (this is not a SEPA job) */
63 s=AB_Account_GetAccountNumbercxx . . $ AB_Account_GetAccountNumber(811e7aaffeacb5b0).(account);
64 if (s && *s)
65 GWEN_DB_SetCharValuecxx . . $ GWEN_DB_SetCharValue(f2bb45fef3c085b5).(dbArgs, GWEN_DB_FLAGS_DEFAULTcxx . . $ `<external>/17992199524652632892/db.h:168:9`!, "accountId", s);
66
67 s=AB_Account_GetSubAccountIdcxx . . $ AB_Account_GetSubAccountId(811e7aaffeacb5b0).(account);
68 if (s && *s)
69 GWEN_DB_SetCharValuecxx . . $ GWEN_DB_SetCharValue(f2bb45fef3c085b5).(dbArgs, GWEN_DB_FLAGS_DEFAULTcxx . . $ `<external>/17992199524652632892/db.h:168:9`!, "accountSubId", s);
70
71 s=AB_Account_GetBankCodecxx . . $ AB_Account_GetBankCode(811e7aaffeacb5b0).(account);
72 if (s && *s)
73 GWEN_DB_SetCharValuecxx . . $ GWEN_DB_SetCharValue(f2bb45fef3c085b5).(dbArgs, GWEN_DB_FLAGS_DEFAULTcxx . . $ `<external>/17992199524652632892/db.h:168:9`!, "bankCode", s);
74 GWEN_DB_SetIntValuecxx . . $ GWEN_DB_SetIntValue(70645b8cbebf0d40).(dbArgs, GWEN_DB_FLAGS_DEFAULTcxx . . $ `<external>/17992199524652632892/db.h:168:9`!, "country", 280);
75
76 return j;
77 }
78
79
80
81
82
83