giveData

Name

giveData -- Send update to RSPD.

Synopsis

$err = $mod->giveData($data);

Description

This function copies the address of data to an internal structure. When postMessage() is called, a copy of the data given will be sent to the RSPD.

Returns

Returns -1 if an error occurred, or 0 otherwise. In case of error, the program will croak() with an appriopriate message.