10 #ifndef AQEBICS_MSG_MSG_H 11 #define AQEBICS_MSG_MSG_H 16 #include <gwenhywfar/types.h> 17 #include <gwenhywfar/path.h> 18 #include <gwenhywfar/inherit.h> 19 #include <gwenhywfar/buffer.h> 22 #include <libxml/tree.h> 23 #include <libxml/parser.h> 24 #include <libxml/xpath.h> 29 GWEN_INHERIT_FUNCTION_DEFS(
EB_MSG)
67 const char *defValue);
void EB_Msg_toBuffer(EB_MSG *m, GWEN_BUFFER *buf)
int EB_Msg_BuildHashSha1(EB_MSG *m, GWEN_BUFFER *hbuf)
int EB_Msg_WriteHash(EB_MSG *m, const unsigned char *hash, int hsize)
int EB_Msg_BuildHashSha256(EB_MSG *m, GWEN_BUFFER *hbuf)
EB_MSG * EB_Msg_fromBuffer(const char *buffer, int size)
const char * EB_Msg_GetCharValue(const EB_MSG *m, const char *path, const char *defValue)
int EB_Msg_ReadHash(EB_MSG *m, GWEN_BUFFER *hbuf)
EB_MSG * EB_Msg_fromFile(const char *fname)
EB_RC EB_Msg_GetBodyResultCode(const EB_MSG *m)
EB_MSG * EB_Msg_newRequest(int willSign, const char *hVersion)
xmlNodeSetPtr EB_Msg_GetNodes(EB_MSG *m, const char *xpathExpr)
xmlNodePtr EB_Msg_GetRootNode(EB_MSG *m)
void EB_Msg_free(EB_MSG *m)
void EB_Msg_SetHVersion(EB_MSG *m, const char *s)
int EB_Msg_BuildHashSha256Sha256(EB_MSG *m, GWEN_BUFFER *hbuf)
int EB_Msg_WriteSignature(EB_MSG *m, const unsigned char *hash, int hsize)
EB_RC EB_Msg_GetResultCode(const EB_MSG *m)
int EB_Msg_SetIntValue(EB_MSG *m, const char *path, int value)
DEPRECATED int EB_Msg_BuildHash(EB_MSG *m, GWEN_BUFFER *hbuf)
int EB_Msg_SetCharValue(EB_MSG *m, const char *path, const char *value)
int EB_Msg_ReadSignature(EB_MSG *m, GWEN_BUFFER *hbuf)
int EB_Msg_BuildHashData(EB_MSG *m, GWEN_BUFFER *hbuf)
xmlDocPtr EB_Msg_GetDoc(const EB_MSG *m)
const char * EB_Msg_GetHVersion(const EB_MSG *m)
EB_MSG * EB_Msg_newResponse(int willSign, const char *rName, const char *hVersion)
int EB_Msg_GetIntValue(const EB_MSG *m, const char *path, int defValue)