X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/05fa444f7cd2661c0903fb4b3424fd692fa1215a..578eb285e1182156da434bac44822ac26c503005:/projects/stargazer/plugins/other/smux/utils.h?ds=sidebyside diff --git a/projects/stargazer/plugins/other/smux/utils.h b/projects/stargazer/plugins/other/smux/utils.h index 7cfbdc78..52a3988b 100644 --- a/projects/stargazer/plugins/other/smux/utils.h +++ b/projects/stargazer/plugins/other/smux/utils.h @@ -3,21 +3,19 @@ #include -#include "asn1/OBJECT_IDENTIFIER.h" -#include "SMUX-PDUs.h" -#include "asn1/GetResponse-PDU.h" +#include "stg/OBJECT_IDENTIFIER.h" +#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