<?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.2"> <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="11770"> <label>IOKit/usb/IOUSBLib.h</label> </node> <node id="11771"> <label>IOKit/IOKitLib.h</label> </node> <node id="11767"> <label>darwin_libusb.h</label> <link refid="darwin_libusb.h"/> <childnode refid="11768" relation="include"> </childnode> <childnode refid="11769" relation="include"> </childnode> <childnode refid="11770" relation="include"> </childnode> <childnode refid="11771" relation="include"> </childnode> </node> <node id="11769"> <label>IOKit/IOCFPlugIn.h</label> </node> <node id="11768"> <label>IOKit/IOCFBundle.h</label> </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="/builddir/build/BUILD/gnuradio-3.2.2/usrp/host/lib/legacy/darwin_libusb.h" line="71" bodyfile="/builddir/build/BUILD/gnuradio-3.2.2/usrp/host/lib/legacy/darwin_libusb.h" bodystart="71" bodyend="-1"/> <referencedby refid="darwin__libusb_8h_1a5f142ddfbebbea7e1cbe3db4fc7fe418" compoundref="darwin__libusb_8h" startline="74" endline="94">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="/builddir/build/BUILD/gnuradio-3.2.2/usrp/host/lib/legacy/darwin_libusb.h" line="111" bodyfile="/builddir/build/BUILD/gnuradio-3.2.2/usrp/host/lib/legacy/darwin_libusb.h" bodystart="106" 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) \ fprintf(stderr, "USB error: %s\n", usb_error_str); \ return r; \ } while (0)</initializer> <briefdescription> </briefdescription> <detaileddescription> </detaileddescription> <inbodydescription> </inbodydescription> <location file="/builddir/build/BUILD/gnuradio-3.2.2/usrp/host/lib/legacy/darwin_libusb.h" line="120" bodyfile="/builddir/build/BUILD/gnuradio-3.2.2/usrp/host/lib/legacy/darwin_libusb.h" bodystart="113" 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) \ fprintf(stderr, "USB error: %s\n", usb_error_str); \ return x; \ } while (0)</initializer> <briefdescription> </briefdescription> <detaileddescription> </detaileddescription> <inbodydescription> </inbodydescription> <location file="/builddir/build/BUILD/gnuradio-3.2.2/usrp/host/lib/legacy/darwin_libusb.h" line="129" bodyfile="/builddir/build/BUILD/gnuradio-3.2.2/usrp/host/lib/legacy/darwin_libusb.h" bodystart="122" bodyend="-1"/> <referencedby refid="darwin__libusb_8h_1a805f2ed6930d982da5ff72217848e26d" compoundref="darwin__libusb_8h" startline="140" endline="187">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) \ fprintf(stderr, "USB error: %s\n", usb_error_str); \ } while (0)</initializer> <briefdescription> </briefdescription> <detaileddescription> </detaileddescription> <inbodydescription> </inbodydescription> <location file="/builddir/build/BUILD/gnuradio-3.2.2/usrp/host/lib/legacy/darwin_libusb.h" line="137" bodyfile="/builddir/build/BUILD/gnuradio-3.2.2/usrp/host/lib/legacy/darwin_libusb.h" bodystart="131" 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="/builddir/build/BUILD/gnuradio-3.2.2/usrp/host/lib/legacy/darwin_libusb.h" line="96" bodyfile="/builddir/build/BUILD/gnuradio-3.2.2/usrp/host/lib/legacy/darwin_libusb.h" bodystart="96" bodyend="100"/> </memberdef> </sectiondef> <sectiondef kind="var"> <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="/builddir/build/BUILD/gnuradio-3.2.2/usrp/host/lib/legacy/darwin_libusb.h" line="102"/> </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="/builddir/build/BUILD/gnuradio-3.2.2/usrp/host/lib/legacy/darwin_libusb.h" line="103"/> </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="/builddir/build/BUILD/gnuradio-3.2.2/usrp/host/lib/legacy/darwin_libusb.h" line="104"/> </memberdef> </sectiondef> <sectiondef kind="func"> <memberdef kind="function" id="darwin__libusb_8h_1a9aef4fce569bc2edcd2b7c918620decf" prot="public" static="yes" const="no" explicit="no" inline="no" virt="non-virtual"> <type>char *</type> <definition>static 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="/builddir/build/BUILD/gnuradio-3.2.2/usrp/host/lib/legacy/darwin_libusb.h" line="47" bodyfile="/builddir/build/BUILD/gnuradio-3.2.2/usrp/host/lib/legacy/darwin_libusb.h" bodystart="46" bodyend="68"/> <referencedby refid="darwin__libusb_8h_1a805f2ed6930d982da5ff72217848e26d" compoundref="darwin__libusb_8h" startline="140" endline="187">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="/builddir/build/BUILD/gnuradio-3.2.2/usrp/host/lib/legacy/darwin_libusb.h" line="75" bodyfile="/builddir/build/BUILD/gnuradio-3.2.2/usrp/host/lib/legacy/darwin_libusb.h" bodystart="74" bodyend="94"/> <references refid="darwin__libusb_8h_1ad9ce9c713032316c91d3ca8a95e07518" compoundref="darwin__libusb_8h" startline="71">LUSBDARWINSTALL</references> <referencedby refid="darwin__libusb_8h_1a805f2ed6930d982da5ff72217848e26d" compoundref="darwin__libusb_8h" startline="140" endline="187">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="/builddir/build/BUILD/gnuradio-3.2.2/usrp/host/lib/legacy/darwin_libusb.h" line="141" bodyfile="/builddir/build/BUILD/gnuradio-3.2.2/usrp/host/lib/legacy/darwin_libusb.h" bodystart="140" bodyend="187"/> <references refid="darwin__libusb_8h_1a9aef4fce569bc2edcd2b7c918620decf" compoundref="darwin__libusb_8h" startline="46" endline="68">darwin_error_str</references> <references refid="darwin__libusb_8h_1a5f142ddfbebbea7e1cbe3db4fc7fe418" compoundref="darwin__libusb_8h" startline="74" endline="94">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="122">USB_ERROR_STR_ORIG</references> </memberdef> </sectiondef> <briefdescription> </briefdescription> <detaileddescription> </detaileddescription> <location file="/builddir/build/BUILD/gnuradio-3.2.2/usrp/host/lib/legacy/darwin_libusb.h"/> </compounddef> </doxygen>