summaryrefslogtreecommitdiffstats
path: root/include/hci_lib.h
diff options
context:
space:
mode:
authorMax Krasnyansky <maxk@qualcomm.com>2002-03-21 23:20:32 +0000
committerMax Krasnyansky <maxk@qualcomm.com>2002-03-21 23:20:32 +0000
commita51747b602f9cd03c7431788f80431c1710f5827 (patch)
tree3d83daef2523d2cc087ebb8da1240e05e56bd6a9 /include/hci_lib.h
parente5049f81cd29f935a2465c430f5db8f15765d46d (diff)
Additional strtoXX and XXtostr functions.
Diffstat (limited to 'include/hci_lib.h')
-rw-r--r--include/hci_lib.h5
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));