Me:
> void* is best used to indicate "can be a pointer to
> anything."
>
> unsigned char* is best used to indicate "pointer to
> some bytes."
Ben:
>I tend to use
>void * for "pointer to some bytes" in cases where the> >caller may have
something more specific than bytes in >their hand (e.g. a structure).
I wasn't clear. Instead of "pointer to some bytes"
I should have written
unsigned char* means pointer to some 8bit data.
This assumes char is 8bits, which isn't portable but
is totally reasonable.
void* means pointer to something.
uchar* (sic) is more specific than void*
______________________________________________________________________
OpenSSL Project http://www.openssl.org
Development Mailing List [EMAIL PROTECTED]
Automated List Manager [EMAIL PROTECTED]