]> git.stg.codes - stg.git/blobdiff - projects/stargazer/plugins/other/smux/utils.h
Allow to have multi-leveled module settings.
[stg.git] / projects / stargazer / plugins / other / smux / utils.h
index 0814bfbad72479ce223e394e6f456f14aabf4807..52a3988bb52a682e58c145dd01eda0f358247d2a 100644 (file)
@@ -7,17 +7,15 @@
 #include "stg/SMUX-PDUs.h"
 #include "stg/GetResponse-PDU.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);
 bool String2OI(const std::string & str, OBJECT_IDENTIFIER_t * oi);
-std::string OI2String(OBJECT_IDENTIFIER_t * oi);
 bool SendOpenPDU(int fd);
 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);
 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
 
 #endif