Diff between 6a425c9566fe20f471ae934b76f8e27be28d1f5b and 80f64d03b4e1cfddf057f72d21d21636d0254df0

Changed Files

File Additions Deletions Status
obexd/src/main.c +10 -0 modified
obexd/src/obex.h +3 -0 modified

Full Patch

diff --git a/obexd/src/main.c b/obexd/src/main.c
index 7dec935..def0ad3 100644
--- a/obexd/src/main.c
+++ b/obexd/src/main.c
@@ -202,6 +202,16 @@ static GOptionEntry options[] = {
 	{ NULL },
 };
 
+const gchar *obex_option_root_folder(void)
+{
+	return option_root;
+}
+
+gboolean obex_option_symlinks(void)
+{
+	return option_symlinks;
+}
+
 static void sig_tty(int sig)
 {
 	if (write(signal_pipe[1], &sig, sizeof(sig)) != sizeof(sig))
diff --git a/obexd/src/obex.h b/obexd/src/obex.h
index dd5343c..64591f6 100644
--- a/obexd/src/obex.h
+++ b/obexd/src/obex.h
@@ -59,6 +59,9 @@ char *obex_get_id(struct obex_session *os);
 ssize_t obex_aparam_read(struct obex_session *os,
 		obex_object_t *obj, const guint8 **buffer);
 
+const gchar *obex_option_root_folder(void);
+gboolean obex_option_symlinks(void);
+
 int tty_init(gint service, const gchar *folder, const gchar *capability,
 		gboolean symlinks, const gchar *devnode);
 gint obex_tty_session_stop(void);