diff options
author | Max Krasnyansky <maxk@qualcomm.com> | 2002-03-21 23:20:32 +0000 |
---|---|---|
committer | Max Krasnyansky <maxk@qualcomm.com> | 2002-03-21 23:20:32 +0000 |
commit | a51747b602f9cd03c7431788f80431c1710f5827 (patch) | |
tree | 3d83daef2523d2cc087ebb8da1240e05e56bd6a9 /include/hci_lib.h | |
parent | e5049f81cd29f935a2465c430f5db8f15765d46d (diff) |
Additional strtoXX and XXtostr functions.
Diffstat (limited to 'include/hci_lib.h')
-rw-r--r-- | include/hci_lib.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/hci_lib.h b/include/hci_lib.h index 28a32993..c590150d 100644 --- a/include/hci_lib.h +++ b/include/hci_lib.h @@ -77,6 +77,11 @@ int hci_strtolp(char *str, unsigned int *val); char *hci_lmtostr(unsigned int ptype); int hci_strtolm(char *str, unsigned int *val); +char *hci_vertostr(unsigned int ver); +int hci_strtover(char *str, unsigned int *ver); +char *lmp_vertostr(unsigned int ver); +int lmp_strtover(char *str, unsigned int *ver); + static inline void hci_set_bit(int nr, void *addr) { *((uint32_t *) addr + (nr >> 5)) |= (1 << (nr & 31)); |