pj_str_t to char*

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



If you are using C++, you can simply do:
std::string mystring(pj_str.ptr, pjs_str.slen);

If you are using C, you could write a simply little
function easily enough. Though, I'm not sure if pjsip
has a built in function. 


      ____________________________________________________________________________________
Be a better friend, newshound, and 
know-it-all with Yahoo! Mobile.  Try it now.  http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ 




[Index of Archives]     [Asterisk Users]     [Asterisk App Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [Linux API]
  Powered by Linux