--- smsdaemon/SmsPdu.h 2008/06/13 06:38:43 69 +++ smsdaemon/SmsPdu.h 2008/12/07 20:18:20 148 @@ -1,4 +1,5 @@ - +#ifndef __SMSPDU_H__ +#define __SMSPDU_H__ #include #include @@ -20,10 +21,13 @@ std::string HexformatVector(std::vector vec); std::vector HexDecodeString(std::string str); - std::vector Encode7to8bit(std::string str); - std::string Decode8to7bit( std::vector input ); + std::vector Encode7to8bit(std::string str, int shift_start); + std::string Decode8to7bit( std::vector input, int shift_start ); std::vector CreateSmsPdu(std::string to, std::string message, bool allowMultipart); SMS ParseSmsPdu(std::string pdu); } + +#endif // __SMSPDU_H__ +