> Who should create the array of pointers to pre-allocated strings? Should the
> caller to datGet1C pass in a char *** and allow datGet1C to allocate all the
> strings and pointer arrays? Should the caller pass in the char**
> and the space they have allocated to each element in the char**? ie they pass
> in the minimum longest length of each of the strings and the number of
> elements in the pointer array. If the former, should HDS provide a helper
> function to free the char**? Or should that be up to the to programmer?
For what its its worth, my vote is for the second option, i.e. the
programmer allocates the space prior to the calls,
Tom
|