_Handle Struct Reference
#include <Libs/libwebcam/libwebcam.h>
Detailed Description
Information associated with a device handle.
Note that a handle can have three different states:
- Closed/free: The device handle is not being used by an application.
- Valid: The device handle is open by an application and points to a valid device.
- Invalid: The device handle is open by an application but does not point to a (valid) device anymore. This happens when a device is removed from the system but there are still open handles around. An "open" handle can be both valid or invalid.
|
Data Fields |
|
Device * | device |
| | Pointer to the device structure associated with this handle.
|
|
int | open |
| | True if the handle is open (valid or invalid).
|
|
int | last_system_error |
| | The number of the last system error (e.g. a V4L2 return value).
|
The documentation for this struct was generated from the following file: