Home | History | Annotate | Download | only in dvr
      1 #ifndef DVR_CONFIGURATION_DATA_H_
      2 #define DVR_CONFIGURATION_DATA_H_
      3 
      4 #include <stdbool.h>
      5 #include <stddef.h>
      6 #include <stdint.h>
      7 #include <sys/cdefs.h>
      8 
      9 #include <dvr/dvr_display_types.h>
     10 #include <dvr/dvr_surface.h>
     11 
     12 __BEGIN_DECLS
     13 
     14 // Loads device configuration data of DVR_CONFIGURATION_DATA_*.
     15 // @return 0 on success. Otherwise returns a negative error value.
     16 int dvrConfigurationDataGet(int config_type,
     17                             uint8_t** data, size_t* data_size);
     18 
     19 // Destroy the configuration data returned from dvrGetConfigurationData.
     20 void dvrConfigurationDataDestroy(uint8_t* data);
     21 
     22 __END_DECLS
     23 
     24 #endif  // DVR_CONFIGURATION_DATA_H_
     25