X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/76e975a593f0194edcbfbfc952eb391b2b8605cf..df2bb45e41303b5132feb6b264caaa01c31b8bb5:/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 0814bfba..27eb3bf1 100644 --- a/projects/stargazer/plugins/other/smux/utils.h +++ b/projects/stargazer/plugins/other/smux/utils.h @@ -7,17 +7,16 @@ #include "stg/SMUX-PDUs.h" #include "stg/GetResponse-PDU.h" -bool WaitPackets(int sd); 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