diff options
Diffstat (limited to 'binding/bluetooth-common.h')
-rw-r--r-- | binding/bluetooth-common.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/binding/bluetooth-common.h b/binding/bluetooth-common.h index 70975a5..616e322 100644 --- a/binding/bluetooth-common.h +++ b/binding/bluetooth-common.h @@ -78,6 +78,7 @@ struct init_data { struct agent_data { int pin_code; + gchar *fixed_pincode; gchar *device_path; }; @@ -105,6 +106,9 @@ void bluetooth_unregister_agent(struct bluetooth_state *ns); gchar *get_default_adapter(afb_api_t api); int set_default_adapter(afb_api_t api, const char *adapter); +int set_pincode(afb_api_t api, const char *pincode, char **error); +gchar *get_pincode(afb_api_t api); + /* utility methods in bluetooth-util.c */ extern gboolean auto_lowercase_keys; |