summaryrefslogtreecommitdiff
path: root/src/shared/hfp.h
diff options
context:
space:
mode:
authorMarcin Kraglak <marcin.kraglak@tieto.com>2014-03-01 21:00:45 +0100
committerSzymon Janc <szymon.janc@tieto.com>2014-03-01 21:34:11 +0100
commitd8c57b505f7ef0347fee56148e890e7fd5c188df (patch)
tree0c93910fc799ab766daa83490cb504812fc2a5bf /src/shared/hfp.h
parent30eb808daaddfea2ca955535db3a023e9c131311 (diff)
downloadbluez-d8c57b505f7ef0347fee56148e890e7fd5c188df.tar.gz
shared/hfp: Add function to get string
It will look for quoted sting and write it to given buffer.
Diffstat (limited to 'src/shared/hfp.h')
-rw-r--r--src/shared/hfp.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/shared/hfp.h b/src/shared/hfp.h
index 00905de5c..3313d91a2 100644
--- a/src/shared/hfp.h
+++ b/src/shared/hfp.h
@@ -116,3 +116,5 @@ bool hfp_gw_unregister(struct hfp_gw *hfp, const char *prefix);
bool hfp_gw_result_get_number(struct hfp_gw_result *result, unsigned int *val);
bool hfp_gw_result_open_container(struct hfp_gw_result *result);
bool hfp_gw_result_close_container(struct hfp_gw_result *result);
+bool hfp_gw_result_get_string(struct hfp_gw_result *result, char *buf,
+ uint8_t len);