summaryrefslogtreecommitdiffstats
path: root/binding/radio_impl.h
diff options
context:
space:
mode:
Diffstat (limited to 'binding/radio_impl.h')
-rw-r--r--binding/radio_impl.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/binding/radio_impl.h b/binding/radio_impl.h
index 0216f69..2867d7f 100644
--- a/binding/radio_impl.h
+++ b/binding/radio_impl.h
@@ -33,6 +33,8 @@ typedef void (*radio_scan_callback_t)(uint32_t frequency, void *data);
typedef void (*radio_freq_callback_t)(uint32_t frequency, void *data);
+typedef void (*radio_rds_callback_t)(void *rds_data);
+
typedef enum {
MONO = 0,
STEREO
@@ -52,6 +54,8 @@ typedef struct {
void (*set_frequency_callback)(radio_freq_callback_t callback,
void *data);
+ void (*set_rds_callback)(radio_rds_callback_t callback);
+
radio_band_t (*get_band)(void);
void (*set_band)(radio_band_t band);
@@ -64,6 +68,8 @@ typedef struct {
uint32_t (*get_frequency_step)(radio_band_t band);
+ bool (*get_corking_state)(void);
+
void (*start)(void);
void (*stop)(void);