libdc1394  2.2.6
fw_cdev_event_iso_resource Struct Reference

#include <dc1394/juju/firewire-cdev.h>

Detailed Description

struct fw_cdev_event_iso_resource - Iso resources were allocated or freed @closure: See set by FW_CDEV_IOC_(DE)ALLOCATE_ISO_RESOURCE(_ONCE) ioctl @type: FW_CDEV_EVENT_ISO_RESOURCE_ALLOCATED or FW_CDEV_EVENT_ISO_RESOURCE_DEALLOCATED @handle: Reference by which an allocated resource can be deallocated @channel: Isochronous channel which was (de)allocated, if any @bandwidth: Bandwidth allocation units which were (de)allocated, if any

An FW_CDEV_EVENT_ISO_RESOURCE_ALLOCATED event is sent after an isochronous resource was allocated at the IRM. The client has to check @channel and @bandwidth for whether the allocation actually succeeded.

An FW_CDEV_EVENT_ISO_RESOURCE_DEALLOCATED event is sent after an isochronous resource was deallocated at the IRM. It is also sent when automatic reallocation after a bus reset failed.

@channel is <0 if no channel was (de)allocated or if reallocation failed. @bandwidth is 0 if no bandwidth was (de)allocated or if reallocation failed.


The documentation for this struct was generated from the following file: