/[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 60 by torben, Wed Jun 11 21:18:04 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);          std::vector<unsigned char> BcdEncode(std::string input);
# Line 11  namespace SmsPdu Line 17  namespace SmsPdu
17    
18          std::vector<unsigned char> Encode7to8bit(std::string str);          std::vector<unsigned char> Encode7to8bit(std::string str);
19    
20          std::string CreateSmsPdu(std::string to, std::string message, int& len);          std::vector<PduInfo> CreateSmsPdu(std::string to, std::string message, bool allowMultipart);
21    
22  }  }

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

  ViewVC Help
Powered by ViewVC 1.1.20