[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [llnl-devel] Re: [Freeipmi-devel] fiid release
From: |
Anand Babu |
Subject: |
Re: [llnl-devel] Re: [Freeipmi-devel] fiid release |
Date: |
Sat, 20 Dec 2003 03:43:08 -0800 |
User-agent: |
Gnus/5.1002 (Gnus v5.10.2) Emacs/21.3 (gnu/linux) |
,----[ Ian Zimmerman <address@hidden> ]
| Albert Chu <address@hidden> writes:
|
| > Hey AB,
| >
| > Just a few thoughts/questions based on my initial skim. I haven't
| > looked at it super-thoroughly yet ...
| >
| > 1) Given the new framework, I think passing in u_int8_t ** pointers
| > and having the function return a buffer may be better than having
| > the user create the u_int8_t * buffer. I prefer the later, but
| > given your framework style, I think the former fits better. I
| > dunno, maybe we should wait until later to decide, no need to decide
| > now.
| >
|
| I prefer the latter too when possible (when the caller knows the size
| of the buffer). Which is not always.
`----
User can calculate the size using fiid_obj_len (obj)
--
_.|_
(_||_)
Free as in Freedom <www.gnu.org>