From 58f43010a21b20f0f33ab0265598f64c330874d8 Mon Sep 17 00:00:00 2001 From: Ulrich Eckhardt Date: Sun, 18 Feb 2018 17:09:31 +0100 Subject: Use std::string fro new service interface --- radio.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/radio.c b/radio.c index 91b8ff4..139ccd7 100644 --- a/radio.c +++ b/radio.c @@ -10,6 +10,7 @@ #include #include #include +#include #include "getopt.h" #include "radioaudio.h" #include "radiotools.h" @@ -83,9 +84,9 @@ struct RadioTextService_v1_0 { struct RadioTextService_v1_1 { int rds_info; // 0= no / 1= Text / 2= Text + RTplus-Tags (Item,Artist) int rds_pty; // 0-31 - char *rds_text; - char *rds_title; - char *rds_artist; + std::string rds_text; + std::string rds_title; + std::string rds_artist; time_t title_start; }; -- cgit v1.2.3