IODataQueueClient.h

Overview

Included Headers

  • <sys/cdefs.h>

  • <AvailabilityMacros.h>

  • <libkern/OSTypes.h>

  • <mach/port.h>

  • <IOKit/IOReturn.h>

  • <IOKit/IODataQueueShared.h>

Topics

Miscellaneous

func IODataQueueAllocateNotificationPort() -> mach_port_t

Allocates and returns a new mach port able to receive data available notifications from an IODataQueue.

func IODataQueueDataAvailable(UnsafeMutablePointer<IODataQueueMemory>!) -> Bool

Used to determine if more data is avilable on the queue.

func IODataQueueSetNotificationPort(UnsafeMutablePointer<IODataQueueMemory>!, mach_port_t) -> IOReturn

Creates a simple mach message targeting the mach port specified in port.