darwin.c File Reference

Mac OS X/Darwin-specific support routines. More...

#include <hid.h>
#include <os.h>
#include <compiler.h>
#include <debug.h>
#include <assert.h>

Go to the source code of this file.

Defines

#define HID_INTERNAL

Functions

hid_return hid_os_force_claim (HIDInterface *const hidif, int const interface, HIDInterfaceMatcher const *const matcher, unsigned short retries UNUSED)


Detailed Description

Mac OS X/Darwin-specific support routines.

Definition in file darwin.c.


Define Documentation

#define HID_INTERNAL

Definition at line 4 of file darwin.c.


Function Documentation

hid_return hid_os_force_claim ( HIDInterface *const   hidif,
int const  interface,
HIDInterfaceMatcher const *const   matcher,
unsigned short retries  UNUSED 
)

Definition at line 13 of file darwin.c.

References HIDInterface_t::dev_handle, ERROR, hid_is_opened(), HID_RET_DEVICE_ALREADY_OPENED, HID_RET_INVALID_PARAMETER, HID_RET_SUCCESS, HIDInterface_t::id, TRACE, and WARNING.


Generated on Sun Mar 30 15:28:24 2008 for libhid by  doxygen 1.5.1