Subject: Re: CVS commit: src/include
To: Elad Efrat <elad@NetBSD.org>
From: Jason Thorpe <thorpej@shagadelic.org>
List: source-changes
Date: 02/18/2006 06:28:46
On Feb 18, 2006, at 3:46 AM, Elad Efrat wrote:

> YAMAMOTO Takashi wrote:
>
>> because you can't increase the size of the structure
>> without bumping the major.
>
> i see. so, what do you suggest? i want to avoid using malloc here
> and allow the caller to change internal values of the struct.

Malloc, combined with accessor / mutator functions, is the right  
thing to do.

>
> should i just write a function to access and modify the various
> values of the struct?
>
> -e.
>
> -- 
> Elad Efrat

-- thorpej