On Mon, 2005-06-06 at 16:44, Robert Story wrote:
> DS> Given that's [cache_hint] is only ever used as a pointer to a
> DS> netsnmp_handler_args structure, why not declare it as such.
> And now I'd imagine we are stuck in the backwards compatibility
> tarpit. Or do you think we can bend the rules a little in this case?
What would actually break if the declaration was changed from
void *cache_hint;
to
netsnmp_handler_args *cache_hint;
??
The name of the field is the same.
The size of the field is the name.
The position in the data structure is the same.
If anything is currently using this field, they must be casting
it to a 'netsnmp_handler_args*' anyway. That cast would become
redundant, but I don't think it would actually break.
<Famous Last Words>
What could possibly go wrong?
Dave
-------------------------------------------------------
This SF.Net email is sponsored by: NEC IT Guy Games. How far can you shotput
a projector? How fast can you ride your desk chair down the office luge track?
If you want to score the big prize, get to know the little guy.
Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders