#ifndef CAMERA_H #define CAMERA_H typedef struct camera_handle { void *handle; } camera_handle; typedef struct camera_params { char *device; int x_res; int y_res; } camera_params; void camera_init(camera_handle *handle, camera_params params); char *camera_get_image(camera_handle *handle); void camera_deinit(camera_handle *handle); #endif