[OpenAFS-devel] Re: Removing the rx_stats export from RX

Andrew Deason adeason@sinenomine.net
Tue, 28 Sep 2010 16:42:47 -0500


On Tue, 28 Sep 2010 22:23:26 +0100
Simon Wilkinson <sxw@inf.ed.ac.uk> wrote:

> struct rx_statistics *rx_GetStatistics();
                                        ^
                                        (void)
> void rx_FreeStatistics(struct rx_statistics **);

I'm possibly bikeshedding, but... we don't want to just let the caller
worry about allocation? Like

/* @param[out] stats */
void rx_GetStatistics(struct rx_statistics *stats);

Or are we trying to allow extending the structure or something?

-- 
Andrew Deason
adeason@sinenomine.net