blob: 22a509f6eb4f790a4b86fc2127dcb4eb90d75b0a [file] [log] [blame]
#ifndef DVR_CONFIGURATION_DATA_H_
#define DVR_CONFIGURATION_DATA_H_
#include <stdbool.h>
#include <stddef.h>
#include <stdint.h>
#include <sys/cdefs.h>
#include <dvr/dvr_display_types.h>
#include <dvr/dvr_surface.h>
__BEGIN_DECLS
// Loads device configuration data of DVR_CONFIGURATION_DATA_*.
// @return 0 on success. Otherwise returns a negative error value.
int dvrConfigurationDataGet(int config_type,
uint8_t** data, size_t* data_size);
// Destroy the configuration data returned from dvrGetConfigurationData.
void dvrConfigurationDataDestroy(uint8_t* data);
__END_DECLS
#endif // DVR_CONFIGURATION_DATA_H_