LibTiePie
0.5
Library for interfacing TiePie engineering instruments
|
Functions to set notifications that are triggered when a device is added to the list.
Functions | |
void | LstSetCallbackDeviceAdded (TpCallbackDeviceList_t pCallback, void *pData) |
Set a callback function which is called when a device is added to the device list. More... | |
void | LstSetEventDeviceAdded (int fdEvent) |
Set an event file descriptor which is set when a device is added to the device list. More... | |
void LstSetCallbackDeviceAdded | ( | TpCallbackDeviceList_t | pCallback, |
void * | pData | ||
) |
Set a callback function which is called when a device is added to the device list.
[in] | pCallback | A pointer to the callback function. Use NULL to disable. |
[in] | pData | Optional user data. |
LIBRARY_NOT_INITIALIZED | The library is not initialized, see LibInit(). |
LIBTIEPIESTATUS_SUCCESS |
void LstSetEventDeviceAdded | ( | int | fdEvent | ) |
Set an event file descriptor which is set when a device is added to the device list.
[in] | fdEvent | An event file descriptor. Use <0 to disable. |
LIBRARY_NOT_INITIALIZED | The library is not initialized, see LibInit(). |
LIBTIEPIESTATUS_SUCCESS |