dynamic-allocated string array "holder"
Luke Kenneth Casson Leighton
lkcl at switchboard.net
Wed Sep 30 14:58:14 GMT 1998
On Wed, 30 Sep 1998, Andrew Tridgell wrote:
> depends, what is a "string array holder" ??
similar to what you have there:
string_array_init(struct string **str, int size)
stringarray_free (struct string **str);
would do the trick.
> the only dynamic string support we have is:
> it's used in a few places, particularly the loadparm code.
> If you want arrays of strings then maybe build functions for them on
> top of the above functions?
<a href="mailto:lkcl at samba.anu.edu.au" > Luke Kenneth Casson Leighton </a>
<a href="http://mailhost.cb1.com/~lkcl"> Samba and Network Development </a>
<a href="http://www.samba.co.uk" > Samba and Network Consultancy </a>
More information about the samba-technical