Monado OpenXR Runtime

Prober code interfacing to libusb. More...

#include "util/u_debug.h"
#include "util/u_misc.h"
#include "p_prober.h"
#include <stdio.h>
#include <string.h>
Include dependency graph for p_libusb.c:

Macros

#define ENUM_TO_STR(r)    case r: return #r
 

Functions

int p_libusb_init (struct prober *p)
 
void p_libusb_teardown (struct prober *p)
 
int p_libusb_probe (struct prober *p)
 
static const char * p_libusb_error_to_string (enum libusb_error e)
 
int p_libusb_get_string_descriptor (struct prober *p, struct prober_device *pdev, enum xrt_prober_string which_string, unsigned char *buffer, int length)
 
bool p_libusb_can_open (struct prober *p, struct prober_device *pdev)
 

Detailed Description

Prober code interfacing to libusb.

Author
Jakob Bornecrantz jakob.nosp@m.@col.nosp@m.labor.nosp@m.a.co.nosp@m.m