libusb.h (04391da364e252ca15645147e2c966dc6d1fbbda) libusb.h (aa87aa52326be7b726664dba65e91ec3d8160f48)
1/* $FreeBSD$ */
2/*-
3 * SPDX-License-Identifier: BSD-2-Clause-FreeBSD
4 *
5 * Copyright (c) 2009 Sylvestre Gallon. 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

--- 536 unchanged lines hidden (view full) ---

545
546/* Polling and timing */
547
548int libusb_try_lock_events(libusb_context * ctx);
549void libusb_lock_events(libusb_context * ctx);
550void libusb_unlock_events(libusb_context * ctx);
551int libusb_event_handling_ok(libusb_context * ctx);
552int libusb_event_handler_active(libusb_context * ctx);
1/* $FreeBSD$ */
2/*-
3 * SPDX-License-Identifier: BSD-2-Clause-FreeBSD
4 *
5 * Copyright (c) 2009 Sylvestre Gallon. 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

--- 536 unchanged lines hidden (view full) ---

545
546/* Polling and timing */
547
548int libusb_try_lock_events(libusb_context * ctx);
549void libusb_lock_events(libusb_context * ctx);
550void libusb_unlock_events(libusb_context * ctx);
551int libusb_event_handling_ok(libusb_context * ctx);
552int libusb_event_handler_active(libusb_context * ctx);
553void libusb_interrupt_event_handler(libusb_context *ctx);
553void libusb_lock_event_waiters(libusb_context * ctx);
554void libusb_unlock_event_waiters(libusb_context * ctx);
555int libusb_wait_for_event(libusb_context * ctx, struct timeval *tv);
556int libusb_handle_events_timeout_completed(libusb_context * ctx, struct timeval *tv, int *completed);
557int libusb_handle_events_completed(libusb_context * ctx, int *completed);
558int libusb_handle_events_timeout(libusb_context * ctx, struct timeval *tv);
559int libusb_handle_events(libusb_context * ctx);
560int libusb_handle_events_locked(libusb_context * ctx, struct timeval *tv);

--- 39 unchanged lines hidden ---
554void libusb_lock_event_waiters(libusb_context * ctx);
555void libusb_unlock_event_waiters(libusb_context * ctx);
556int libusb_wait_for_event(libusb_context * ctx, struct timeval *tv);
557int libusb_handle_events_timeout_completed(libusb_context * ctx, struct timeval *tv, int *completed);
558int libusb_handle_events_completed(libusb_context * ctx, int *completed);
559int libusb_handle_events_timeout(libusb_context * ctx, struct timeval *tv);
560int libusb_handle_events(libusb_context * ctx);
561int libusb_handle_events_locked(libusb_context * ctx, struct timeval *tv);

--- 39 unchanged lines hidden ---