summaryrefslogtreecommitdiff
path: root/obexd/plugins/ftp.c
diff options
context:
space:
mode:
authorLuiz Augusto von Dentz <luiz.von.dentz@intel.com>2011-11-15 15:27:55 +0200
committerMarcel Holtmann <marcel@holtmann.org>2012-12-04 22:48:48 +0100
commit7c358987f942c19fff4ba50bb19c56cfa7f4592a (patch)
treede182170f0f8bffb2c37452aff2e9b1c0d503db1 /obexd/plugins/ftp.c
parentdcab04f113f7be0f518c5958df53560e166eb1d2 (diff)
obexd: Remove use of obex_object_t from service.h
Plugins including service.h need to include openobex headers because of this.
Diffstat (limited to 'obexd/plugins/ftp.c')
-rw-r--r--obexd/plugins/ftp.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/obexd/plugins/ftp.c b/obexd/plugins/ftp.c
index 7a736aeba..2b5cc2e1a 100644
--- a/obexd/plugins/ftp.c
+++ b/obexd/plugins/ftp.c
@@ -163,7 +163,7 @@ void *ftp_connect(struct obex_session *os, int *err)
return ftp;
}
-int ftp_get(struct obex_session *os, obex_object_t *obj, void *user_data)
+int ftp_get(struct obex_session *os, void *user_data)
{
struct ftp_session *ftp = user_data;
const char *type = obex_get_type(os);
@@ -228,7 +228,7 @@ int ftp_chkput(struct obex_session *os, void *user_data)
return ret;
}
-int ftp_put(struct obex_session *os, obex_object_t *obj, void *user_data)
+int ftp_put(struct obex_session *os, void *user_data)
{
struct ftp_session *ftp = user_data;
const char *name = obex_get_name(os);
@@ -251,7 +251,7 @@ int ftp_put(struct obex_session *os, obex_object_t *obj, void *user_data)
return 0;
}
-int ftp_setpath(struct obex_session *os, obex_object_t *obj, void *user_data)
+int ftp_setpath(struct obex_session *os, void *user_data)
{
struct ftp_session *ftp = user_data;
const char *root_folder, *name;
@@ -480,7 +480,7 @@ static int ftp_move(struct ftp_session *ftp, const char *name,
return ret;
}
-int ftp_action(struct obex_session *os, obex_object_t *obj, void *user_data)
+int ftp_action(struct obex_session *os, void *user_data)
{
struct ftp_session *ftp = user_data;
const char *name, *destname;