5 * Copyright (C) 2007-2010 Nokia Corporation
8 * This program is free software; you can redistribute it and/or modify
9 * it under the terms of the GNU General Public License as published by
10 * the Free Software Foundation; either version 2 of the License, or
11 * (at your option) any later version.
13 * This program is distributed in the hope that it will be useful,
14 * but WITHOUT ANY WARRANTY; without even the implied warranty of
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 * GNU General Public License for more details.
18 * You should have received a copy of the GNU General Public License
19 * along with this program; if not, write to the Free Software
20 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
24 #include <dbus/dbus.h>
26 #define OBEXD_SERVICE "org.bluez.obex"
31 void manager_register_session(struct obex_session *os);
32 void manager_unregister_session(struct obex_session *os);
34 struct obex_transfer *manager_register_transfer(struct obex_session *os);
35 void manager_unregister_transfer(struct obex_transfer *transfer);
36 void manager_emit_transfer_started(struct obex_transfer *transfer);
37 void manager_emit_transfer_progress(struct obex_transfer *transfer);
38 void manager_emit_transfer_completed(struct obex_transfer *transfer);
39 int manager_request_authorization(struct obex_transfer *transfer, int32_t time,
40 char **new_folder, char **new_name);
42 DBusConnection *manager_dbus_get_connection(void);