Hi,

I'm trying to implement a hook in a module I'm developing that will
allow languages such as PHP to access it. Part of the information I need
to pass back will be in the form of 64 byte data blocks. As I see it,
these are my options:

1. Return the block as the return value. Compiler complains, as it
should.
2. Pass in a pointer to memory that will contain the data. This
segfaults.
3. Allocate memory and return a pointer. Wouldn't this segfault as well?
4. ???

Suggestions?

Not all of life fits in an integer :)

TIA,
Dave


Reply via email to