raw1394_(get|set)_userdata

Name

raw1394_get_userdata, raw1394_set_userdata -- associate user data with a handle

Synopsis

void *raw1394_get_userdata(raw1394handle_t handle);

void raw1394_set_userdata(raw1394handle_t handle);

Arguments

handle

handle associated with the user data

Description

Allows to associate one void pointer with a handle. libraw1394 does not care about the data, it just stores it in the handle allowing it to be retrieved at any time. This can be useful when multiple handles are used, so that callbacks can identify the handle.

Return Value

raw1394_get_userdata() returns the void pointer associated with the handle.