3 #pragma GCC diagnostic push
4 #pragma GCC diagnostic ignored "-Wold-style-cast"
5 #include "stg/OBJECT_IDENTIFIER.h"
6 #include "stg/SMUX-PDUs.h"
7 #include "stg/GetResponse-PDU.h"
8 #pragma GCC diagnostic pop
12 bool String2OI(const std::string & str, OBJECT_IDENTIFIER_t * oi);
13 bool SendOpenPDU(int fd);
14 bool SendClosePDU(int fd);
15 bool SendRReqPDU(int fd);
16 SMUX_PDUs_t * RecvSMUXPDUs(int fd);
17 bool SendGetResponsePDU(int fd, GetResponse_PDU_t * getResponse);
18 bool SendGetResponseErrorPDU(int fd,
19 const PDU_t * getRequest,