Hi, developers!

I need to create an empty octstr, but do not see the necessary function (in CVS 
kannel) :((
What is the meaning in inserting the following function into the octstr.c
Octstr *octstr_create_empty()
{
 Octstr *ostr;
 
 ostr = gw_malloc(sizeof(*ostr));
 ostr->len = 0;
 ostr->size = 0;
 ostr->data = NULL;
 
 ostr->immutable = 0;
 seems_valid(ostr);

 return ostr;
}


-- 
 
Best regards,
Yury Mikhienko.
IT engineer, ZAO "Mobicom-Kavkaz"

Reply via email to