[go: up one dir, main page]

Menu

[r79]: / trunk / udev.h  Maximize  Restore  History

Download this file

20 lines (14 with data), 365 Bytes

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
#ifndef UDEV_H
#define UDEV_H
//#define USE_LIBUDEV
#include "scanbd.h"
#ifdef USE_LIBUDEV
#include <libudev.h>
#define UDEV_ADD_ACTION "add"
#define UDEV_REMOVE_ACTION "remove"
#define UDEV_DEVICE_TYPE "usb_device"
#define UDEV_SLEEP_IF_NO_DEVICE 1000
extern void udev_start_udev_thread(void);
extern void udev_stop_udev_thread(void);
#endif
#endif // UDEV_H