--- smsdaemon/SmsPdu.h 2008/06/11 19:42:24 59 +++ smsdaemon/SmsPdu.h 2008/06/11 21:18:04 60 @@ -3,6 +3,12 @@ #include #include +struct PduInfo +{ + std::string pdu; + int len; +}; + namespace SmsPdu { std::vector BcdEncode(std::string input); @@ -11,5 +17,6 @@ std::vector Encode7to8bit(std::string str); - std::string CreateSmsPdu(std::string to, std::string message, int& len); + std::vector CreateSmsPdu(std::string to, std::string message, bool allowMultipart); + }