From cc31145e63f9c87e816267e69e73d74e669563a1 Mon Sep 17 00:00:00 2001 From: Marcel Holtmann Date: Thu, 9 Mar 2006 19:30:07 +0000 Subject: Add general logging functions --- hcid/hcid.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'hcid/hcid.h') diff --git a/hcid/hcid.h b/hcid/hcid.h index c6516f9f..8d84af92 100644 --- a/hcid/hcid.h +++ b/hcid/hcid.h @@ -24,6 +24,7 @@ */ #include +#include #include #include #include @@ -173,6 +174,10 @@ int read_link_key(bdaddr_t *local, bdaddr_t *peer, unsigned char *key); int read_pin_length(bdaddr_t *local, bdaddr_t *peer); int read_pin_code(bdaddr_t *local, bdaddr_t *peer, char *pin); +void info(const char *format, va_list ap); +void error(const char *format, va_list ap); +void debug(const char *format, va_list ap); + static inline int find_conn(int dd, int dev_id, long arg) { struct hci_conn_list_req *cl; -- cgit