]> git.stg.codes - stg.git/blobdiff - projects/stargazer/plugins/other/smux/utils.h
Moved AUTH_BY parser from global scope.
[stg.git] / projects / stargazer / plugins / other / smux / utils.h
index 7cfbdc78e9f579b5448f7b6297af77d97072c00b..27eb3bf1f86a9bfcbe1dac4d486179972e38b636 100644 (file)
@@ -3,21 +3,20 @@
 
 #include <string>
 
 
 #include <string>
 
-#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);
 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);
 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