summaryrefslogtreecommitdiff
path: root/src/lib/obex_agent.h
diff options
context:
space:
mode:
authorThomas Egerer <hakke[underscore]double-oh-seven[at]gmx.de>2015-06-11 22:15:58 +0200
committerThomas Egerer <hakke[underscore]double-oh-seven[at]gmx.de>2015-06-11 22:20:40 +0200
commite3b7186eccc82a2733e75a51fe3e0cb3f56014b5 (patch)
tree28d5b20a35e3e5363ecdf74396181e81b84126af /src/lib/obex_agent.h
parent0cb4ed0cdb88373f255bfc94e6b236e444ab24a7 (diff)
downloadbluez-tools-e3b7186eccc82a2733e75a51fe3e0cb3f56014b5.tar.gz
Add property to automatically accept incoming files
When receiving more than one file from a paired device, it's not very pleasant to type 'yes' (or 'y' for that matter) over and over again. Hence the -y switch to auto-accept all incoming files. Signed-off-by: Thomas Egerer <hakke_007@gmx.de>
Diffstat (limited to 'src/lib/obex_agent.h')
-rw-r--r--src/lib/obex_agent.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/obex_agent.h b/src/lib/obex_agent.h
index 981dc46..385d5f0 100644
--- a/src/lib/obex_agent.h
+++ b/src/lib/obex_agent.h
@@ -71,7 +71,7 @@ typedef void (*ObexAgentApprovedCallback)(ObexAgent *obex_agent, const gchar* ob
/*
* Constructor
*/
-ObexAgent *obex_agent_new(const gchar *root_folder);
+ObexAgent *obex_agent_new(const gchar *root_folder, const gboolean auto_accept);
/*
* Method definitions