// Copyright (C) 2019 Jaslo Ziska

#ifndef PHOTOBOX_PHOTO_H
#define PHOTOBOX_PHOTO_H

typedef struct pb_ph_buffer {
    void *base;
    unsigned long int size;
} pb_ph_buffer;

int pb_ph_init(void);
void pb_ph_uninit(void);
int pb_ph_capture(pb_ph_buffer *buf);
int pb_ph_capture_file(const char *fn);

#endif//PHOTOBOX_PHOTO_H
