/[projects]/smsdaemon/SmsPdu.h
ViewVC logotype

Diff of /smsdaemon/SmsPdu.h

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 70 by torben, Fri Jun 13 07:56:57 2008 UTC revision 148 by torben, Sun Dec 7 20:18:20 2008 UTC
# Line 1  Line 1 
1    #ifndef __SMSPDU_H__
2    #define __SMSPDU_H__
3    
4  #include <string>  #include <string>
5  #include <vector>  #include <vector>
# Line 20  namespace SmsPdu Line 21  namespace SmsPdu
21          std::string HexformatVector(std::vector<unsigned char> vec);          std::string HexformatVector(std::vector<unsigned char> vec);
22          std::vector<unsigned char> HexDecodeString(std::string str);          std::vector<unsigned char> HexDecodeString(std::string str);
23    
24          std::vector<unsigned char> Encode7to8bit(std::string str);          std::vector<unsigned char> Encode7to8bit(std::string str, int shift_start);
25          std::string Decode8to7bit( std::vector<unsigned char> input, int shift_start );          std::string Decode8to7bit( std::vector<unsigned char> input, int shift_start );
26    
27          std::vector<PduInfo> CreateSmsPdu(std::string to, std::string message, bool allowMultipart);          std::vector<PduInfo> CreateSmsPdu(std::string to, std::string message, bool allowMultipart);
28    
29          SMS ParseSmsPdu(std::string pdu);          SMS ParseSmsPdu(std::string pdu);
30  }  }
31    
32    #endif // __SMSPDU_H__
33    

Legend:
Removed from v.70  
changed lines
  Added in v.148

  ViewVC Help
Powered by ViewVC 1.1.20