Eddy DK Programmer Guide
101
Function
Requests shared memory to be used and reads memory pointer.
Format
void *SB_SetSharedMemory (int Key_ID, int Buffer_Size);
Parameter
Key_ID
Buffer_Size
ID of shared memory to be registered
Size of shared memory to be used
Returns
*buffer_address Memory address of shared memory
Returns -1 upon failure.
Notice
In Eddy, this function is used for PortView and SNMP agent.
User can use this function to access shared memory for other purpose.