vscphlp_newVSCPevent

bool vscphlp_newVSCPevent( vscpEvent **ppEvent )

Parameters

pEvent

Pointer to pointer to a VSCP event.

Return Value

Return VSCP_ERROR_SUCCESS on success, VSCP_ERROR_ERROR on failure.

Description

Creates a new VSCP event. Initializes the data pointer.

Example

vscpEvent *pEvent;
vscphlp_newVSCPevent( &pEvent );

See Also

vscphlp_deleteVSCPevent
vscphlp_deleteVSCPevent_v2


Very Simple Control Protocol
This document is licensed under Creative Commons BY 4.0 and can be freely copied, redistributed, remixed, transformed, built upon as long as you give credits to the author((s).

results matching ""

    No results matching ""