aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/media/media-rygel.h
diff options
context:
space:
mode:
authorJosé Bollo <jose.bollo@iot.bzh>2016-05-13 10:33:29 +0200
committerJosé Bollo <jose.bollo@iot.bzh>2016-05-13 10:33:29 +0200
commitaacefae70dd8c6b21398fa7a60574a24e1287eb0 (patch)
tree71f54bc373c5ede616d83261281074b17d2deadb /plugins/media/media-rygel.h
parent7b97a7f27578d7f4ce7cc994e5df303ac5d9c886 (diff)
media: uploading - first step
Change-Id: I469dac8883f2c8e94fa2384612723ff29e6eae41 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
Diffstat (limited to 'plugins/media/media-rygel.h')
-rw-r--r--plugins/media/media-rygel.h14
1 files changed, 1 insertions, 13 deletions
diff --git a/plugins/media/media-rygel.h b/plugins/media/media-rygel.h
index 0cc84011..951c6b89 100644
--- a/plugins/media/media-rygel.h
+++ b/plugins/media/media-rygel.h
@@ -54,7 +54,7 @@ unsigned char _rygel_init (mediaCtxHandleT *);
void _rygel_free (mediaCtxHandleT *);
json_object* _rygel_list (mediaCtxHandleT *);
unsigned char _rygel_select (mediaCtxHandleT *, unsigned int);
-unsigned char _rygel_upload (mediaCtxHandleT *, char *);
+unsigned char _rygel_upload (mediaCtxHandleT *ctx, const char *path, void (*oncompletion)(void*,int), void *closure);
unsigned char _rygel_do (mediaCtxHandleT *, State, char *);
char* _rygel_list_raw (dev_ctx_T *, unsigned int *);
@@ -65,16 +65,4 @@ char* _rygel_find_uri_for_metadata (dev_ctx_T *, char *);
unsigned char _rygel_start_uploading (dev_ctx_T *, char *, char *);
unsigned char _rygel_start_doing (dev_ctx_T *, char *, char *, State, char *);
unsigned char _rygel_find_av_transport (dev_ctx_T *);
-static void _rygel_device_cb (GUPnPControlPoint *, GUPnPDeviceProxy *, gpointer);
-static void _rygel_av_transport_cb (GUPnPControlPoint *, GUPnPDeviceProxy *, gpointer);
-static void _rygel_content_cb (GUPnPServiceProxy *, GUPnPServiceProxyAction *, gpointer);
-static void _rygel_metadata_cb (GUPnPServiceProxy *, GUPnPServiceProxyAction *, gpointer);
-static void _rygel_select_cb (GUPnPServiceProxy *, GUPnPServiceProxyAction *, gpointer);
-static void _rygel_upload_cb (GUPnPServiceProxy *, GUPnPServiceProxyAction *, gpointer);
-static void _rygel_transfer_cb (GUPnPServiceProxy *, GUPnPServiceProxyAction *, gpointer);
-static void _rygel_do_cb (GUPnPServiceProxy *, GUPnPServiceProxyAction *, gpointer);
-
-static unsigned int client_count = 0;
-static struct dev_ctx **dev_ctx = NULL;
-
#endif /* MEDIA_RYGEL_H */