Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision 0200e1e7

Von aquamaniac vor fast 22 Jahren hinzugefügt

  • ID 0200e1e7b62f305942dcb2e6dad9ab117179fb1d
  • Vorgänger 37530be6
  • Nachfolger aad0c3b1

- fixed a whole bunch of bugs
- MessageEngine is now able to list all GROUPS and ELEMents which belong to
a given message. This allows for tools that show the variables needed/set
by different messages (as needed by OpenHBCI).

git-svn-id: https://devel.aqbanking.de/svn/gwenhywfar/trunk@29 70169cfe-8b10-0410-8925-dcb4b91034d8

Unterschiede anzeigen:

src/parser/msgengine_p.h
#define GWEN_MSGENGINE_TYPENAME_WIDTH 10
#define GWEN_MSGENGINE_SHOW_FLAGS_OPTIONAL 0x00010000
#define GWEN_MSGENGINE_TRUSTEDDATA_MAXPOS 32
struct GWEN__MSGENGINE {
......
GWEN_MSGENGINE_BINTYPEREAD_PTR binTypeReadPtr;
GWEN_MSGENGINE_BINTYPEWRITE_PTR binTypeWritePtr;
GWEN_MSGENGINE_TRUSTEDDATA *trustInfos;
void *inheritorData;
};
......
GWEN_STRINGLIST *sl,
unsigned int flags);
int GWEN_MsgEngine__ListElement(GWEN_MSGENGINE *e,
const char *path,
GWEN_XMLNODE *node,
GWEN_STRINGLIST *sl,
GWEN_XMLNODE *listNode,
unsigned int flags);
int GWEN_MsgEngine__ListGroup(GWEN_MSGENGINE *e,
const char *path,
GWEN_XMLNODE *node,
GWEN_XMLNODE *rnode,
GWEN_STRINGLIST *sl,
GWEN_XMLNODE *listNode,
unsigned int flags);
int GWEN_MsgEngine__ReadValue(GWEN_MSGENGINE *e,
GWEN_BUFFER *msgbuf,
GWEN_XMLNODE *node,
GWEN_XMLNODE *rnode,
GWEN_BUFFER *vbuf,
const char *delimiters);
const char *delimiters,
unsigned int flags);
int GWEN_MsgEngine__ReadGroup(GWEN_MSGENGINE *e,
GWEN_BUFFER *msgbuf,
GWEN_XMLNODE *node,
GWEN_XMLNODE *rnode,
GWEN_DB_NODE *gr,
const char *delimiters);
const char *delimiters,
unsigned int flags);
/**
* @param dnode node of the element to transform
*/
const char *GWEN_MsgEngine__findInValues(GWEN_MSGENGINE *e,
GWEN_XMLNODE *node,
const char *name);
GWEN_XMLNODE *dnode,
const char *name,
unsigned int *datasize);
const char *GWEN_MsgEngine__TransformValue(GWEN_MSGENGINE *e,
const char *pvalue,
GWEN_XMLNODE *node);
GWEN_XMLNODE *node,
GWEN_XMLNODE *dnode,
unsigned int *datasize);
const char *GWEN_MsgEngine__SearchForValue(GWEN_MSGENGINE *e,
GWEN_XMLNODE *node,
GWEN_XMLNODE *refnode,
......
int GWEN_MsgEngine__IsBinTyp(const char *type);
struct GWEN_MSGENGINE_TRUSTEDDATA {
GWEN_MSGENGINE_TRUSTEDDATA *next;
char *data;
unsigned int size;
char *description;
unsigned int trustLevel;
char *replacement;
unsigned int positions[GWEN_MSGENGINE_TRUSTEDDATA_MAXPOS];
unsigned int posCount;
unsigned int posPointer;
};
#endif

Auch abrufbar als: Unified diff