Commit 475250ce authored by Bastien Nocera's avatar Bastien Nocera

lib: Split off some polling related functions

parent f40f231a
...@@ -180,11 +180,6 @@ struct fp_img_driver { ...@@ -180,11 +180,6 @@ struct fp_img_driver {
#include "drivers_definitions.h" #include "drivers_definitions.h"
extern libusb_context *fpi_usb_ctx;
extern GSList *opened_devices;
void fpi_img_driver_setup(struct fp_img_driver *idriver);
struct fp_dscv_dev { struct fp_dscv_dev {
struct libusb_device *udev; struct libusb_device *udev;
struct fp_driver *drv; struct fp_driver *drv;
...@@ -291,9 +286,6 @@ struct fp_img *fpi_im_resize(struct fp_img *img, unsigned int w_factor, unsigned ...@@ -291,9 +286,6 @@ struct fp_img *fpi_im_resize(struct fp_img *img, unsigned int w_factor, unsigned
/* polling and timeouts */ /* polling and timeouts */
void fpi_poll_init(void);
void fpi_poll_exit(void);
typedef void (*fpi_timeout_fn)(void *data); typedef void (*fpi_timeout_fn)(void *data);
struct fpi_timeout; struct fpi_timeout;
......
...@@ -343,11 +343,6 @@ void fpi_poll_exit(void); ...@@ -343,11 +343,6 @@ void fpi_poll_exit(void);
typedef void (*fpi_timeout_fn)(void *data); typedef void (*fpi_timeout_fn)(void *data);
struct fpi_timeout;
struct fpi_timeout *fpi_timeout_add(unsigned int msec, fpi_timeout_fn callback,
void *data);
void fpi_timeout_cancel(struct fpi_timeout *timeout);
/* async drv <--> lib comms */ /* async drv <--> lib comms */
struct fpi_ssm; struct fpi_ssm;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment