Anonymous - 2004-07-16

Hi,

I develop PIM client/server with SyncML Ref. Toolkit .
I see that for allocating data structures like SmlSyncHdr_t, SmlAlert_t.... exist functions:
smlAllocSyncHdr(), smlAllocAlert()....
These functions allocates not only piece of memory, but also members of structures.
Very good, but functions allocates empty structures for Pcdata members. When I call  for example smlAllocSyncHdr(), then in result structure is allocated undefined version member and others. So when I need to fill this empty member I must dealocate it with smlFreePcdata and allocate new with smlString2Pcdata("1.1").
It would be suitable to have function for filling empty SmlPcdatda_t.
Does exist so function in SyncML Reference Toolkit ? 

Peter