<?xml version='1.0' encoding='UTF-8' standalone='no'?> <doxygen xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="compound.xsd" version="1.6.3"> <compounddef id="darwin__libusb_8h" kind="file"> <compoundname>darwin_libusb.h</compoundname> <includes local="no">IOKit/IOCFBundle.h</includes> <includes local="no">IOKit/IOCFPlugIn.h</includes> <includes local="no">IOKit/usb/IOUSBLib.h</includes> <includes local="no">IOKit/IOKitLib.h</includes> <incdepgraph> <node id="17679"> <label>IOKit/usb/IOUSBLib.h</label> </node> <node id="17680"> <label>IOKit/IOKitLib.h</label> </node> <node id="17678"> <label>IOKit/IOCFPlugIn.h</label> </node> <node id="17677"> <label>IOKit/IOCFBundle.h</label> </node> <node id="17676"> <label>darwin_libusb.h</label> <link refid="darwin_libusb.h"/> <childnode refid="17677" relation="include"> </childnode> <childnode refid="17678" relation="include"> </childnode> <childnode refid="17679" relation="include"> </childnode> <childnode refid="17680" relation="include"> </childnode> </node> </incdepgraph> <sectiondef kind="define"> <memberdef kind="define" id="darwin__libusb_8h_1ad9ce9c713032316c91d3ca8a95e07518" prot="public" static="no"> <name>LUSBDARWINSTALL</name> <initializer>(ELAST+1)</initializer> <briefdescription> </briefdescription> <detaileddescription> </detaileddescription> <inbodydescription> </inbodydescription> <location file="/home/mandrake/rpm/BUILD/gnuradio-3.3.0/usrp/host/lib/darwin_libusb.h" line="84" bodyfile="/home/mandrake/rpm/BUILD/gnuradio-3.3.0/usrp/host/lib/darwin_libusb.h" bodystart="84" bodyend="-1"/> <referencedby refid="darwin__libusb_8h_1a5f142ddfbebbea7e1cbe3db4fc7fe418" compoundref="darwin__libusb_8h" startline="87" endline="107">darwin_to_errno</referencedby> </memberdef> <memberdef kind="define" id="darwin__libusb_8h_1aee2e1933991308b6c53a58f359fc0337" prot="public" static="no"> <name>USB_ERROR</name> <param><defname>r</defname></param> <param><defname>x</defname></param> <initializer>do { \ <ref refid="darwin__libusb_8h_1aa4ff1dfa6329acc36ccbd7e17cc3da97" kindref="member">usb_error_type</ref> = USB_ERROR_TYPE_ERRNO; \ <ref refid="darwin__libusb_8h_1a27960afa38d36b296d487a5aa0e0496c" kindref="member">usb_error_errno</ref> = x; \ return (r); \ } while (0)</initializer> <briefdescription> </briefdescription> <detaileddescription> </detaileddescription> <inbodydescription> </inbodydescription> <location file="/home/mandrake/rpm/BUILD/gnuradio-3.3.0/usrp/host/lib/darwin_libusb.h" line="124" bodyfile="/home/mandrake/rpm/BUILD/gnuradio-3.3.0/usrp/host/lib/darwin_libusb.h" bodystart="119" bodyend="-1"/> </memberdef> <memberdef kind="define" id="darwin__libusb_8h_1a91458181f6a0e61a1a81b135ced5aaa7" prot="public" static="no"> <name>USB_ERROR_STR</name> <param><defname>r</defname></param> <param><defname>x</defname></param> <param><defname>format</defname></param> <param><defname>args...</defname></param> <initializer>do { \ <ref refid="darwin__libusb_8h_1aa4ff1dfa6329acc36ccbd7e17cc3da97" kindref="member">usb_error_type</ref> = USB_ERROR_TYPE_STRING; \ snprintf (<ref refid="darwin__libusb_8h_1a5e5ca0e895551ecfc8a311e538e56e38" kindref="member">usb_error_str</ref>, sizeof (<ref refid="darwin__libusb_8h_1a5e5ca0e895551ecfc8a311e538e56e38" kindref="member">usb_error_str</ref>) - 1, \ format, ## args); \ if (usb_debug) { \ std::cerr << "USB error: " << usb_error_str << std::cerr; \ } \ return (r); \ } while (0)</initializer> <briefdescription> </briefdescription> <detaileddescription> </detaileddescription> <inbodydescription> </inbodydescription> <location file="/home/mandrake/rpm/BUILD/gnuradio-3.3.0/usrp/host/lib/darwin_libusb.h" line="135" bodyfile="/home/mandrake/rpm/BUILD/gnuradio-3.3.0/usrp/host/lib/darwin_libusb.h" bodystart="126" bodyend="-1"/> </memberdef> <memberdef kind="define" id="darwin__libusb_8h_1afc11ef28456558a98899476aeab1e42b" prot="public" static="no"> <name>USB_ERROR_STR_ORIG</name> <param><defname>x</defname></param> <param><defname>format</defname></param> <param><defname>args...</defname></param> <initializer>do { \ <ref refid="darwin__libusb_8h_1aa4ff1dfa6329acc36ccbd7e17cc3da97" kindref="member">usb_error_type</ref> = USB_ERROR_TYPE_STRING; \ snprintf (<ref refid="darwin__libusb_8h_1a5e5ca0e895551ecfc8a311e538e56e38" kindref="member">usb_error_str</ref>, sizeof (<ref refid="darwin__libusb_8h_1a5e5ca0e895551ecfc8a311e538e56e38" kindref="member">usb_error_str</ref>) - 1, \ format, ## args); \ if (usb_debug) { \ std::cerr << "USB error: " << usb_error_str << std::endl; \ } \ return (x); \ } while (0)</initializer> <briefdescription> </briefdescription> <detaileddescription> </detaileddescription> <inbodydescription> </inbodydescription> <location file="/home/mandrake/rpm/BUILD/gnuradio-3.3.0/usrp/host/lib/darwin_libusb.h" line="146" bodyfile="/home/mandrake/rpm/BUILD/gnuradio-3.3.0/usrp/host/lib/darwin_libusb.h" bodystart="137" bodyend="-1"/> <referencedby refid="darwin__libusb_8h_1a805f2ed6930d982da5ff72217848e26d" compoundref="darwin__libusb_8h" startline="162" endline="224">ep_to_pipeRef</referencedby> </memberdef> <memberdef kind="define" id="darwin__libusb_8h_1a6c7a312a78f69953e39305ab222522ca" prot="public" static="no"> <name>USB_ERROR_STR_NO_RET</name> <param><defname>x</defname></param> <param><defname>format</defname></param> <param><defname>args...</defname></param> <initializer>do { \ <ref refid="darwin__libusb_8h_1aa4ff1dfa6329acc36ccbd7e17cc3da97" kindref="member">usb_error_type</ref> = USB_ERROR_TYPE_STRING; \ snprintf (<ref refid="darwin__libusb_8h_1a5e5ca0e895551ecfc8a311e538e56e38" kindref="member">usb_error_str</ref>, sizeof (<ref refid="darwin__libusb_8h_1a5e5ca0e895551ecfc8a311e538e56e38" kindref="member">usb_error_str</ref>) - 1, \ format, ## args); \ if (usb_debug) { \ std::cerr << "USB error: " << usb_error_str << std::endl; \ } \ } while (0)</initializer> <briefdescription> </briefdescription> <detaileddescription> </detaileddescription> <inbodydescription> </inbodydescription> <location file="/home/mandrake/rpm/BUILD/gnuradio-3.3.0/usrp/host/lib/darwin_libusb.h" line="156" bodyfile="/home/mandrake/rpm/BUILD/gnuradio-3.3.0/usrp/host/lib/darwin_libusb.h" bodystart="148" bodyend="-1"/> </memberdef> </sectiondef> <sectiondef kind="enum"> <memberdef kind="enum" id="darwin__libusb_8h_1a7ab53b8f90543f083c2dd1ca792c296f" prot="public" static="no"> <name>usb_error_type_t</name> <enumvalue id="darwin__libusb_8h_1a7ab53b8f90543f083c2dd1ca792c296fafcf45746515fd9b279a99b3bd3987da8" prot="public"> <name>USB_ERROR_TYPE_NONE</name> <initializer> 0</initializer> <briefdescription> </briefdescription> <detaileddescription> </detaileddescription> </enumvalue> <enumvalue id="darwin__libusb_8h_1a7ab53b8f90543f083c2dd1ca792c296fa6edb710e424b2ca4743f88b31e28f111" prot="public"> <name>USB_ERROR_TYPE_STRING</name> <briefdescription> </briefdescription> <detaileddescription> </detaileddescription> </enumvalue> <enumvalue id="darwin__libusb_8h_1a7ab53b8f90543f083c2dd1ca792c296fa3d28c6eb7560fdc1c02430168588b0c0" prot="public"> <name>USB_ERROR_TYPE_ERRNO</name> <briefdescription> </briefdescription> <detaileddescription> </detaileddescription> </enumvalue> <briefdescription> </briefdescription> <detaileddescription> </detaileddescription> <inbodydescription> </inbodydescription> <location file="/home/mandrake/rpm/BUILD/gnuradio-3.3.0/usrp/host/lib/darwin_libusb.h" line="109" bodyfile="/home/mandrake/rpm/BUILD/gnuradio-3.3.0/usrp/host/lib/darwin_libusb.h" bodystart="109" bodyend="113"/> </memberdef> </sectiondef> <sectiondef kind="var"> <memberdef kind="variable" id="darwin__libusb_8h_1ace5b3c1d7038e9510c8cc529c14a0147" prot="public" static="yes" mutable="no"> <type>const char *</type> <definition>const char* darwin_error_strings[]</definition> <argsstring>[]</argsstring> <name>darwin_error_strings</name> <initializer> { "no error", "device not opened for exclusive access", "no connection to an IOService", "no asyc port has been opened for interface", "another process has device opened for exclusive access", "pipe is stalled", "could not establish a connection to Darin kernel", "invalid argument", "unknown error" }</initializer> <briefdescription> </briefdescription> <detaileddescription> </detaileddescription> <inbodydescription> </inbodydescription> <location file="/home/mandrake/rpm/BUILD/gnuradio-3.3.0/usrp/host/lib/darwin_libusb.h" line="56" bodyfile="/home/mandrake/rpm/BUILD/gnuradio-3.3.0/usrp/host/lib/darwin_libusb.h" bodystart="46" bodyend="-1"/> </memberdef> <memberdef kind="variable" id="darwin__libusb_8h_1a5e5ca0e895551ecfc8a311e538e56e38" prot="public" static="no" mutable="no"> <type>char</type> <definition>char usb_error_str[1024]</definition> <argsstring>[1024]</argsstring> <name>usb_error_str</name> <briefdescription> </briefdescription> <detaileddescription> </detaileddescription> <inbodydescription> </inbodydescription> <location file="/home/mandrake/rpm/BUILD/gnuradio-3.3.0/usrp/host/lib/darwin_libusb.h" line="115"/> </memberdef> <memberdef kind="variable" id="darwin__libusb_8h_1a27960afa38d36b296d487a5aa0e0496c" prot="public" static="no" mutable="no"> <type>int</type> <definition>int usb_error_errno</definition> <argsstring></argsstring> <name>usb_error_errno</name> <briefdescription> </briefdescription> <detaileddescription> </detaileddescription> <inbodydescription> </inbodydescription> <location file="/home/mandrake/rpm/BUILD/gnuradio-3.3.0/usrp/host/lib/darwin_libusb.h" line="116"/> </memberdef> <memberdef kind="variable" id="darwin__libusb_8h_1aa4ff1dfa6329acc36ccbd7e17cc3da97" prot="public" static="no" mutable="no"> <type><ref refid="darwin__libusb_8h_1a7ab53b8f90543f083c2dd1ca792c296f" kindref="member">usb_error_type_t</ref></type> <definition>usb_error_type_t usb_error_type</definition> <argsstring></argsstring> <name>usb_error_type</name> <briefdescription> </briefdescription> <detaileddescription> </detaileddescription> <inbodydescription> </inbodydescription> <location file="/home/mandrake/rpm/BUILD/gnuradio-3.3.0/usrp/host/lib/darwin_libusb.h" line="117"/> </memberdef> </sectiondef> <sectiondef kind="func"> <memberdef kind="function" id="darwin__libusb_8h_1a0e50d1905375baa6c4cf2c33b9255a29" prot="public" static="yes" const="no" explicit="no" inline="no" virt="non-virtual"> <type>const char *</type> <definition>static const char* darwin_error_str</definition> <argsstring>(int result)</argsstring> <name>darwin_error_str</name> <param> <type>int</type> <declname>result</declname> </param> <briefdescription> </briefdescription> <detaileddescription> </detaileddescription> <inbodydescription> </inbodydescription> <location file="/home/mandrake/rpm/BUILD/gnuradio-3.3.0/usrp/host/lib/darwin_libusb.h" line="60" bodyfile="/home/mandrake/rpm/BUILD/gnuradio-3.3.0/usrp/host/lib/darwin_libusb.h" bodystart="59" bodyend="81"/> <referencedby refid="darwin__libusb_8h_1a805f2ed6930d982da5ff72217848e26d" compoundref="darwin__libusb_8h" startline="162" endline="224">ep_to_pipeRef</referencedby> </memberdef> <memberdef kind="function" id="darwin__libusb_8h_1a5f142ddfbebbea7e1cbe3db4fc7fe418" prot="public" static="yes" const="no" explicit="no" inline="no" virt="non-virtual"> <type>int</type> <definition>static int darwin_to_errno</definition> <argsstring>(int result)</argsstring> <name>darwin_to_errno</name> <param> <type>int</type> <declname>result</declname> </param> <briefdescription> </briefdescription> <detaileddescription> </detaileddescription> <inbodydescription> </inbodydescription> <location file="/home/mandrake/rpm/BUILD/gnuradio-3.3.0/usrp/host/lib/darwin_libusb.h" line="88" bodyfile="/home/mandrake/rpm/BUILD/gnuradio-3.3.0/usrp/host/lib/darwin_libusb.h" bodystart="87" bodyend="107"/> <references refid="darwin__libusb_8h_1ad9ce9c713032316c91d3ca8a95e07518" compoundref="darwin__libusb_8h" startline="84">LUSBDARWINSTALL</references> <referencedby refid="darwin__libusb_8h_1a805f2ed6930d982da5ff72217848e26d" compoundref="darwin__libusb_8h" startline="162" endline="224">ep_to_pipeRef</referencedby> </memberdef> <memberdef kind="function" id="darwin__libusb_8h_1a805f2ed6930d982da5ff72217848e26d" prot="public" static="yes" const="no" explicit="no" inline="no" virt="non-virtual"> <type>int</type> <definition>static int ep_to_pipeRef</definition> <argsstring>(darwin_dev_handle *device, int ep)</argsstring> <name>ep_to_pipeRef</name> <param> <type><ref refid="structdarwin__dev__handle" kindref="compound">darwin_dev_handle</ref> *</type> <declname>device</declname> </param> <param> <type>int</type> <declname>ep</declname> </param> <briefdescription> </briefdescription> <detaileddescription> </detaileddescription> <inbodydescription> </inbodydescription> <location file="/home/mandrake/rpm/BUILD/gnuradio-3.3.0/usrp/host/lib/darwin_libusb.h" line="163" bodyfile="/home/mandrake/rpm/BUILD/gnuradio-3.3.0/usrp/host/lib/darwin_libusb.h" bodystart="162" bodyend="224"/> <references refid="darwin__libusb_8h_1a0e50d1905375baa6c4cf2c33b9255a29" compoundref="darwin__libusb_8h" startline="59" endline="81">darwin_error_str</references> <references refid="darwin__libusb_8h_1a5f142ddfbebbea7e1cbe3db4fc7fe418" compoundref="darwin__libusb_8h" startline="87" endline="107">darwin_to_errno</references> <references refid="structdarwin__dev__handle_1a24033b6bf2283cebd863675951365439" compoundref="fusb__darwin_8h" startline="63">darwin_dev_handle::interface</references> <references refid="darwin__libusb_8h_1afc11ef28456558a98899476aeab1e42b" compoundref="darwin__libusb_8h" startline="137">USB_ERROR_STR_ORIG</references> </memberdef> </sectiondef> <briefdescription> </briefdescription> <detaileddescription> </detaileddescription> <location file="/home/mandrake/rpm/BUILD/gnuradio-3.3.0/usrp/host/lib/darwin_libusb.h"/> </compounddef> </doxygen>