| 1 | /*************************************************************************** |
| 2 | $RCSfile$ |
| 3 | ------------------- |
| 4 | begin : Mon Jan 07 2008 |
| 5 | copyright : (C) 2008 by Martin Preuss |
| 6 | email : [email protected] |
| 7 | |
| 8 | *************************************************************************** |
| 9 | * Please see toplevel file COPYING for license details * |
| 10 | ***************************************************************************/ |
| 11 | |
| 12 | |
| 13 | #ifdef HAVE_CONFIG_Hcxx . . $ `<built-in>:410:9`! |
| 14 | # include <config.h>cxx . . $ `<file>/config.h`/ |
| 15 | #endif |
| 16 | |
| 17 | #include "g_signonmsgsrsv1_p.h"cxx . . $ `<file>/src/libs/plugins/imexporters/ofx/parser/g_signonmsgsrsv1_p.h`/ |
| 18 | #include "ofxxmlctx_l.h"cxx . . $ `<file>/src/libs/plugins/imexporters/ofx/parser/ofxxmlctx_l.h`/ |
| 19 | |
| 20 | #include "g_generic_l.h"cxx . . $ `<file>/src/libs/plugins/imexporters/ofx/parser/g_generic_l.h`/ |
| 21 | #include "g_ignore_l.h"cxx . . $ `<file>/src/libs/plugins/imexporters/ofx/parser/g_ignore_l.h`/ |
| 22 | #include "g_sonrs_l.h"cxx . . $ `<file>/src/libs/plugins/imexporters/ofx/parser/g_sonrs_l.h`/ |
| 23 | |
| 24 | #include <gwenhywfar/misc.h> |
| 25 | #include <gwenhywfar/debug.h> |
| 26 | |
| 27 | |
| 28 | |
| 29 | |
| 30 | AIO_OFX_GROUPcxx . . $ AIO_OFX_GROUP# *AIO_OfxGroup_SIGNONMSGSRSV1_newcxx . . $ AIO_OfxGroup_SIGNONMSGSRSV1_new(32069f73a4539e4a).(const char *groupName, |
| 31 | AIO_OFX_GROUPcxx . . $ AIO_OFX_GROUP# *parent, |
| 32 | GWEN_XML_CONTEXTcxx . . $ GWEN_XML_CONTEXT# *ctx) |
| 33 | { |
| 34 | AIO_OFX_GROUPcxx . . $ AIO_OFX_GROUP# *g; |
| 35 | |
| 36 | /* create base group */ |
| 37 | g=AIO_OfxGroup_Generic_newcxx . . $ AIO_OfxGroup_Generic_new(32069f73a4539e4a).(groupName, parent, ctx); |
| 38 | assertcxx . . $ `/usr/include/assert.h:118:11`!(g); |
| 39 | |
| 40 | /* set virtual functions */ |
| 41 | AIO_OfxGroup_SetStartTagFncxx . . $ AIO_OfxGroup_SetStartTagFn(4635eae524d7e44f).(g, AIO_OfxGroup_SIGNONMSGSRSV1_StartTagcxx . . $ AIO_OfxGroup_SIGNONMSGSRSV1_StartTag(7cd69939348553cf).); |
| 42 | |
| 43 | return g; |
| 44 | } |
| 45 | |
| 46 | |
| 47 | |
| 48 | int AIO_OfxGroup_SIGNONMSGSRSV1_StartTagcxx . . $ AIO_OfxGroup_SIGNONMSGSRSV1_StartTag(7cd69939348553cf).(AIO_OFX_GROUPcxx . . $ AIO_OFX_GROUP# *g, |
| 49 | const char *tagName) |
| 50 | { |
| 51 | AIO_OFX_GROUPcxx . . $ AIO_OFX_GROUP# *gNew=NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:419:9`!; |
| 52 | GWEN_XML_CONTEXTcxx . . $ GWEN_XML_CONTEXT# *ctx; |
| 53 | |
| 54 | assertcxx . . $ `/usr/include/assert.h:118:11`!(g); |
| 55 | |
| 56 | ctx=AIO_OfxGroup_GetXmlContextcxx . . $ AIO_OfxGroup_GetXmlContext(352394713780ef3c).(g); |
| 57 | |
| 58 | if (strcasecmpcxx . . $ strcasecmp(5ae29d726ae57f88).(tagName, "SONRS")==0) { |
| 59 | gNew=AIO_OfxGroup_SONRS_newcxx . . $ AIO_OfxGroup_SONRS_new(32069f73a4539e4a).(tagName, g, ctx); |
| 60 | } |
| 61 | else { |
| 62 | DBG_WARNcxx . . $ `<external>/1532518586372551407/debug.h:125:10`!(AQBANKING_LOGDOMAINcxx . . $ `src/libs/aqbanking/error.h:76:9`!, |
| 63 | "Ignoring group [%s]", tagName); |
| 64 | gNew=AIO_OfxGroup_Ignore_newcxx . . $ AIO_OfxGroup_Ignore_new(32069f73a4539e4a).(tagName, g, ctx); |
| 65 | } |
| 66 | |
| 67 | if (gNew) { |
| 68 | AIO_OfxXmlCtx_SetCurrentGroupcxx . . $ AIO_OfxXmlCtx_SetCurrentGroup(f0358d26dc6830ab).(ctx, gNew); |
| 69 | GWEN_XmlCtx_IncDepthcxx . . $ GWEN_XmlCtx_IncDepth(acb6a757c43777e9).(ctx); |
| 70 | } |
| 71 | |
| 72 | return 0; |
| 73 | } |
| 74 | |
| 75 | |
| 76 |