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

Diff of /smsdaemon/SmsPdu.h

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

revision 59 by torben, Wed Jun 11 19:42:24 2008 UTC revision 68 by torben, Thu Jun 12 18:54:24 2008 UTC
# Line 3  Line 3 
3  #include <string>  #include <string>
4  #include <vector>  #include <vector>
5    
6    struct PduInfo
7    {
8            std::string pdu;
9            int len;
10    };
11    
12  namespace SmsPdu  namespace SmsPdu
13  {  {
14          std::vector<unsigned char> BcdEncode(std::string input);  
15            std::string EncodePhonenr(std::string input);
16            std::string DecodePhonenr(std::string input);
17    
18          std::string HexformatVector(std::vector<unsigned char> vec);          std::string HexformatVector(std::vector<unsigned char> vec);
19    
20          std::vector<unsigned char> Encode7to8bit(std::string str);          std::vector<unsigned char> Encode7to8bit(std::string str);
21            std::string Decode8to7bit( std::vector<unsigned char> input );
22    
23            std::vector<PduInfo> CreateSmsPdu(std::string to, std::string message, bool allowMultipart);
24    
         std::string CreateSmsPdu(std::string to, std::string message, int& len);  
25  }  }

Legend:
Removed from v.59  
changed lines
  Added in v.68

  ViewVC Help
Powered by ViewVC 1.1.20