The point is to define both library and applet interfaces so that the needless duplication of data does not exist. I'm inclined to rewrite parse_config() so that it takes variable number of arguments which are the pointers to (char *) vectors.
E.g. char *minutes, *hours; parse_config("/etc/crontab", &minutes, &hours, ........) ... That way the caller clearly defines the number of tokens he wants to see AND provides unobtrusive placeholders for them. But since I have no skills at all in va_* stuff I'd like to ask the list to help me. -- Vladimir
_______________________________________________ busybox mailing list busybox@busybox.net http://busybox.net/cgi-bin/mailman/listinfo/busybox