summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--TODO-RELEASE1
-rw-r--r--include/osmocom/ctrl/control_cmd.h6
2 files changed, 4 insertions, 3 deletions
diff --git a/TODO-RELEASE b/TODO-RELEASE
index 648b6a6d..b67d6dd7 100644
--- a/TODO-RELEASE
+++ b/TODO-RELEASE
@@ -4,3 +4,4 @@ libosmocore change major external talloc dependency / internal talloc removal
libosmocore change major size of ph_data_param struct changed / Extend L1SAP PH-DATA with presence information
libosmocore change major size of ph_data_param struct changed / Extend L1SAP PH-DATA with measurement information
libosmocore change major size of ph_tch_param struct changed / Extend with RTP Marker
+libosmocore change minor mark as const id, variable & value fields of ctrl_cmd struct
diff --git a/include/osmocom/ctrl/control_cmd.h b/include/osmocom/ctrl/control_cmd.h
index 8f2eaa25..cd96038e 100644
--- a/include/osmocom/ctrl/control_cmd.h
+++ b/include/osmocom/ctrl/control_cmd.h
@@ -53,10 +53,10 @@ struct ctrl_connection {
struct ctrl_cmd {
struct ctrl_connection *ccon;
enum ctrl_type type;
- char *id;
+ const char *id;
void *node;
- char *variable;
- char *value;
+ const char *variable;
+ const char *value;
char *reply;
};