libusb20.h (223495) | libusb20.h (225659) |
---|---|
1/* $FreeBSD: head/lib/libusb/libusb20.h 223495 2011-06-24 11:14:09Z hselasky $ */ | 1/* $FreeBSD: head/lib/libusb/libusb20.h 225659 2011-09-19 08:52:06Z hselasky $ */ |
2/*- 3 * Copyright (c) 2008-2009 Hans Petter Selasky. All rights reserved. 4 * Copyright (c) 2007-2008 Daniel Drake. All rights reserved. 5 * Copyright (c) 2001 Johannes Erdfelt. All rights reserved. 6 * 7 * Redistribution and use in source and binary forms, with or without 8 * modification, are permitted provided that the following conditions 9 * are met: --- 278 unchanged lines hidden (view full) --- 288struct libusb20_backend *libusb20_be_alloc_freebsd(void); 289struct libusb20_backend *libusb20_be_alloc_linux(void); 290struct libusb20_backend *libusb20_be_alloc_ugen20(void); 291struct libusb20_device *libusb20_be_device_foreach(struct libusb20_backend *pbe, struct libusb20_device *pdev); 292void libusb20_be_dequeue_device(struct libusb20_backend *pbe, struct libusb20_device *pdev); 293void libusb20_be_enqueue_device(struct libusb20_backend *pbe, struct libusb20_device *pdev); 294void libusb20_be_free(struct libusb20_backend *pbe); 295 | 2/*- 3 * Copyright (c) 2008-2009 Hans Petter Selasky. All rights reserved. 4 * Copyright (c) 2007-2008 Daniel Drake. All rights reserved. 5 * Copyright (c) 2001 Johannes Erdfelt. All rights reserved. 6 * 7 * Redistribution and use in source and binary forms, with or without 8 * modification, are permitted provided that the following conditions 9 * are met: --- 278 unchanged lines hidden (view full) --- 288struct libusb20_backend *libusb20_be_alloc_freebsd(void); 289struct libusb20_backend *libusb20_be_alloc_linux(void); 290struct libusb20_backend *libusb20_be_alloc_ugen20(void); 291struct libusb20_device *libusb20_be_device_foreach(struct libusb20_backend *pbe, struct libusb20_device *pdev); 292void libusb20_be_dequeue_device(struct libusb20_backend *pbe, struct libusb20_device *pdev); 293void libusb20_be_enqueue_device(struct libusb20_backend *pbe, struct libusb20_device *pdev); 294void libusb20_be_free(struct libusb20_backend *pbe); 295 |
296/* USB debugging */ 297 298const char *libusb20_strerror(int); 299const char *libusb20_error_name(int); 300 |
|
296#if 0 297{ /* style */ 298#endif 299#ifdef __cplusplus 300} 301 302#endif 303 304#endif /* _LIBUSB20_H_ */ | 301#if 0 302{ /* style */ 303#endif 304#ifdef __cplusplus 305} 306 307#endif 308 309#endif /* _LIBUSB20_H_ */ |