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.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/binding/radio_impl.h b/binding/radio_impl.h
index 009df9b..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);