summaryrefslogtreecommitdiffstats
path: root/hcid/hcid.h
diff options
context:
space:
mode:
authorJohan Hedberg <johan.hedberg@nokia.com>2006-11-14 18:22:37 +0000
committerJohan Hedberg <johan.hedberg@nokia.com>2006-11-14 18:22:37 +0000
commit38a404ba5bfbf21d4607a5d048846288a2359c56 (patch)
treec2d2f7a9d8e5c5077e21ca2cd99d17129cd28201 /hcid/hcid.h
parentfc03565db71241cbc0a47ae7528273d3982fb606 (diff)
Add offmode config option for defining SetMode("off") behaviour
Diffstat (limited to 'hcid/hcid.h')
-rw-r--r--hcid/hcid.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/hcid/hcid.h b/hcid/hcid.h
index e1465cce..3085a7ed 100644
--- a/hcid/hcid.h
+++ b/hcid/hcid.h
@@ -89,6 +89,7 @@ struct hcid_opts {
int auto_init;
int security;
int pairing;
+ int offmode;
char *config_file;
@@ -127,6 +128,9 @@ void hci_req_queue_remove(int dev_id, bdaddr_t *dba);
#define HCID_PAIRING_MULTI 1
#define HCID_PAIRING_ONCE 2
+#define HCID_OFFMODE_DEVDOWN 0
+#define HCID_OFFMODE_NOSCAN 1
+
int read_config(char *file);
struct device_opts *alloc_device_opts(char *ref);