qmi: add qmi_tlv_strdup

Add a function to copy a string out of a TLV, adding a \0 at the end.

BUG=chromium-os:27303
TEST=will come later

Change-Id: Ica7496ba4dd77599f37bb67069ea0fc0c2b55cce
2 files changed
tree: f72d329783736507a77752b02d6467edeafee294
  1. .gitignore
  2. LICENSE
  3. Makefile
  4. README
  5. include/
  6. src/