LibTiePie  0.5
Library for interfacing TiePie engineering instruments
 All Files Functions Typedefs Macros Modules Pages
Device removed

Description

Functions to set notifications that are triggered when a device is removed from the list.

Functions

void LstSetCallbackDeviceRemoved (TpCallbackDeviceList_t pCallback, void *pData)
 Set a callback function which is called when a device is removed from the device list. More...
 
void LstSetEventDeviceRemoved (int fdEvent)
 Set an event file descriptor which is set when a device is removed from the device list. More...
 

Function Documentation

void LstSetCallbackDeviceRemoved ( TpCallbackDeviceList_t  pCallback,
void *  pData 
)

Set a callback function which is called when a device is removed from the device list.

Parameters
[in]pCallbackA pointer to the callback function. Use NULL to disable.
[in]pDataOptional user data.
Status values
LIBRARY_NOT_INITIALIZEDThe library is not initialized, see LibInit().
LIBTIEPIESTATUS_SUCCESS
Since
0.5
void LstSetEventDeviceRemoved ( int  fdEvent)

Set an event file descriptor which is set when a device is removed from the device list.

Parameters
[in]fdEventan event file descriptor. Use <0 to disable.
Note
This function is only available on GNU/Linux.
Status values
LIBRARY_NOT_INITIALIZEDThe library is not initialized, see LibInit().
LIBTIEPIESTATUS_SUCCESS
Since
0.4.0