Subject: Re: Multiple values for locators
To: John Kohl <email@example.com>
From: Charles M. Hannum <firstname.lastname@example.org>
Date: 03/25/1997 20:47:53
> John Kohl <email@example.com> writes:
> > (a) what would you do with FOOCF_LOCNAME_DEFAULT? set it to 0,0,0,0?
> > Or define several of them (one for each position)?
> My inclination is to get rid of those completely, actually.
I have another idea. I suggest instead generating a table of
defaults, and adding a cf_default pointer to struct cfdata. Then
you access the defaults using `cf->cf_default[FOOCF_LOCATOR + n]'.
There only needs to be one default table per attribute, of course, so
it doesn't have to take much space at all.