aboutsummaryrefslogtreecommitdiffstats
path: root/src/v4l.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/v4l.h')
-rw-r--r--src/v4l.h24
1 files changed, 12 insertions, 12 deletions
diff --git a/src/v4l.h b/src/v4l.h
index 89260c6..82c3a1c 100644
--- a/src/v4l.h
+++ b/src/v4l.h
@@ -92,18 +92,18 @@ typedef struct camera {
void *start;
size_t length;
} *buffers;
-} cam;
-
-void camera_cap (cam *);
-void print_cam (cam *);
-void try_set_win_info(cam * cam, int *x, int *y);
-void set_win_info (cam * cam);
-void get_pic_info (cam *);
-void get_win_info (cam *);
-void get_supported_resolutions(cam * cam);
-void start_streaming(cam * cam);
-void capture_buffers(cam * cam, unsigned char *outbuf, int len);
-void stop_streaming(cam * cam);
+} cam_t;
+
+void camera_cap (cam_t *);
+void print_cam (cam_t *);
+void try_set_win_info(cam_t *cam, int *x, int *y);
+void set_win_info (cam_t *cam);
+void get_pic_info (cam_t *);
+void get_win_info (cam_t *);
+void get_supported_resolutions(cam_t *cam);
+void start_streaming(cam_t *cam);
+void capture_buffers(cam_t *cam, unsigned char *outbuf, int len);
+void stop_streaming(cam_t *cam);
#endif /* !CAMORAMA_V4L_H */

Privacy Policy