git.jasLogic.tech
2e4066e2f3214979cb862edd15561c9be6ee209c
[photobox.git] / src / photobox_photo.h
1 #ifndef PHOTOBOX_PHOTO_H
2 #define PHOTOBOX_PHOTO_H
3
4 typedef struct pb_ph_buffer {
5 void *base;
6 unsigned long int size;
7 } pb_ph_buffer;
8
9 int pb_ph_init(void);
10 int pb_ph_capture(pb_ph_buffer *buf);
11 int pb_ph_capture_file(const char *fn);
12
13 //int pb_ph_getraw(pb_ph_buffer *buf);
14
15 #endif//PHOTOBOX_PHOTO_H