util.h
Go to the documentation of this file.
1 #ifndef USB_CAM_UTIL_H
2 #define USB_CAM_UTIL_H
3 
4 #include "usb_cam/types.h"
5 
6 #define CLEAR(x) memset(&(x), 0, sizeof(x))
7 
8 namespace usb_cam
9 {
10 namespace util
11 {
12 
16 time_t get_epoch_time_shift();
17 
18 int xioctl(int fd, int request, void * arg);
19 
23 unsigned char CLIPVALUE(const int & val);
24 
25 } // namespace util
26 } // namespace usb_cam
27 
28 #endif
unsigned char CLIPVALUE(const int &val)
Definition: util.cpp:35
time_t get_epoch_time_shift()
Get epoch time shift.
Definition: util.cpp:52
int xioctl(int fd, int request, void *arg)
Definition: util.cpp:23


usb_cam
Author(s): Benjamin Pitzer
autogenerated on Sat May 27 2023 02:53:05