X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/02f215c550418f180d0d1b2694c99a7a8d4dc4b2..fb3a3aae0c569547b43b5df6fa9b3df5ea3e033f:/projects/stargazer/plugins/other/smux/utils.h?ds=inline diff --git a/projects/stargazer/plugins/other/smux/utils.h b/projects/stargazer/plugins/other/smux/utils.h index 8007fee6..52a3988b 100644 --- a/projects/stargazer/plugins/other/smux/utils.h +++ b/projects/stargazer/plugins/other/smux/utils.h @@ -8,15 +8,14 @@ #include "stg/GetResponse-PDU.h" bool String2OI(const std::string & str, OBJECT_IDENTIFIER_t * oi); -std::string OI2String(OBJECT_IDENTIFIER_t * oi); bool SendOpenPDU(int fd); -int SendClosePDU(int fd); -int SendRReqPDU(int fd); +bool SendClosePDU(int fd); +bool SendRReqPDU(int fd); SMUX_PDUs_t * RecvSMUXPDUs(int fd); -int SendGetResponsePDU(int fd, GetResponse_PDU_t * getResponse); -int SendGetResponseErrorPDU(int fd, - const PDU_t * getRequest, - int errorStatus, - int errorIndex); +bool SendGetResponsePDU(int fd, GetResponse_PDU_t * getResponse); +bool SendGetResponseErrorPDU(int fd, + const PDU_t * getRequest, + int errorStatus, + int errorIndex); #endif