diff options
author | Max Krasnyansky <maxk@qualcomm.com> | 2002-07-18 18:12:46 +0000 |
---|---|---|
committer | Max Krasnyansky <maxk@qualcomm.com> | 2002-07-18 18:12:46 +0000 |
commit | c5dca08e234386563667e8f790b4e1122c364c5d (patch) | |
tree | 8d87f52a29142b96b243e3a8e52def40ab7c2cd8 /hcid/hcid.h | |
parent | 99148a336433ac48bd8dc1fb23f4dc7cbf8c812e (diff) |
Support for multiple pairing modes.
Link key replacement.
Diffstat (limited to 'hcid/hcid.h')
-rw-r--r-- | hcid/hcid.h | 7 |
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); |