RSP_giveData

Name

RSP_giveData -- Send update to RSPD.

Synopsis

int RSP_giveData(RSP_moduleBackend *mod, char *data);

Description

This function copies the address of data to an internal structure. When RSP_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.

Error Conditions

If an error occurs, -1 will be returned and rsp_error will be set to the following error code: