Subject: Re: Multiple values for locators
To: John Kohl <>
From: Charles M. Hannum <>
List: tech-kern
Date: 03/25/1997 20:47:53
I wrote:

> John Kohl <> 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.