diff options
author | Marcin Kraglak <marcin.kraglak@tieto.com> | 2014-03-01 21:00:45 +0100 |
---|---|---|
committer | Szymon Janc <szymon.janc@tieto.com> | 2014-03-01 21:34:11 +0100 |
commit | d8c57b505f7ef0347fee56148e890e7fd5c188df (patch) | |
tree | 0c93910fc799ab766daa83490cb504812fc2a5bf /src/shared/hfp.h | |
parent | 30eb808daaddfea2ca955535db3a023e9c131311 (diff) | |
download | bluez-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.h | 2 |
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); |