< Previous by Date Date Index Next by Date >
< Previous in Thread Thread Index Next in Thread >

Re: [reSIProcate] Convert NameAddr into Data


NameAddr na;
Data nad = Data::from(na);

// don't keep this after nad gets deleted.
const char* nas = nad.c_str();


On 3/24/06, Lorenzo <webmaster@xxxxxxxxxxxxx> wrote:
> Hello,
> which is the best method to convert a NameAddr (or a URI ) into a Data
> (and then into a string with c_str() ) ?
>
> Thank you,
>
>
> LB
> _______________________________________________
> resiprocate-devel mailing list
> resiprocate-devel@xxxxxxxxxxxxxxxxxxx
> https://list.sipfoundry.org/mailman/listinfo/resiprocate-devel
>