summaryrefslogtreecommitdiffstats
path: root/hcid/hcid.h
diff options
context:
space:
mode:
authorMax Krasnyansky <maxk@qualcomm.com>2002-07-18 18:12:46 +0000
committerMax Krasnyansky <maxk@qualcomm.com>2002-07-18 18:12:46 +0000
commitc5dca08e234386563667e8f790b4e1122c364c5d (patch)
tree8d87f52a29142b96b243e3a8e52def40ab7c2cd8 /hcid/hcid.h
parent99148a336433ac48bd8dc1fb23f4dc7cbf8c812e (diff)
Support for multiple pairing modes.
Link key replacement.
Diffstat (limited to 'hcid/hcid.h')
-rw-r--r--hcid/hcid.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/hcid/hcid.h b/hcid/hcid.h
index 0715db28..cfc034e4 100644
--- a/hcid/hcid.h
+++ b/hcid/hcid.h
@@ -59,6 +59,7 @@ struct hcid_opts {
char *host_name;
int auto_init;
int security;
+ int pairing;
char *config_file;
@@ -77,6 +78,10 @@ extern struct hcid_opts hcid;
#define HCID_SEC_AUTO 1
#define HCID_SEC_USER 2
+#define HCID_PAIRING_NONE 0
+#define HCID_PAIRING_MULTI 1
+#define HCID_PAIRING_ONCE 2
+
int read_config(char *file);
gboolean io_stack_event(GIOChannel *chan, GIOCondition cond, gpointer data);
@@ -85,4 +90,4 @@ gboolean io_security_event(GIOChannel *chan, GIOCondition cond, gpointer data);
void init_security_data(void);
void start_security_manager(int hdev);
void stop_security_manager(int hdev);
-void flush_link_keys(void);
+void toggle_pairing(int enable);