X-Git-Url: http://www.project-moonshot.org/gitweb/?a=blobdiff_plain;f=include%2Ftr_msg.h;h=e10fd1a943a90e070ebcd50635d687d6dccdde37;hb=12381c5facc9fcb55f8a8cc007811cf2254d87fa;hp=0a9096fb8a428e21159b8c13c0d80ffa6d9d23cf;hpb=74fea865b53066aa4af981490e8ed600bd927eab;p=trust_router.git diff --git a/include/tr_msg.h b/include/tr_msg.h index 0a9096f..e10fd1a 100644 --- a/include/tr_msg.h +++ b/include/tr_msg.h @@ -69,7 +69,7 @@ void tr_msg_set_trp_req(TR_MSG *msg, TRP_REQ *req); /* Encoders/Decoders */ char *tr_msg_encode(TR_MSG *msg); -TR_MSG *tr_msg_decode(char *jmsg, size_t len); +TR_MSG *tr_msg_decode(const char *jmsg, size_t len); void tr_msg_free_encoded(char *jmsg); void tr_msg_free_decoded(TR_MSG *msg);