summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2005-08-05 07:11:32 +0000
committerMarcel Holtmann <marcel@holtmann.org>2005-08-05 07:11:32 +0000
commita73893381f0b7be98b8eb99d31ff834c7658d27c (patch)
tree9e5957613724a7b94b6423c2ffe403b14e10a914 /include
parente602dbfade3e4ef56ef04a81489ba0374133a313 (diff)
downloadbluez-a73893381f0b7be98b8eb99d31ff834c7658d27c.tar.gz
Introduce bt_malloc() and bt_free() functions
Diffstat (limited to 'include')
-rw-r--r--include/bluetooth.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/bluetooth.h b/include/bluetooth.h
index 33d68a61f..b5d056df6 100644
--- a/include/bluetooth.h
+++ b/include/bluetooth.h
@@ -136,6 +136,9 @@ int bafprintf(FILE *stream, const char *format, ...);
int basprintf(char *str, const char *format, ...);
int basnprintf(char *str, size_t size, const char *format, ...);
+void *bt_malloc(size_t size);
+void bt_free(void *ptr);
+
int bt_error(uint16_t code);
char *bt_compidtostr(int id);