20 #ifndef _MEDIA_BROWSER_PRIVATE_H_
21 #define _MEDIA_BROWSER_PRIVATE_H_
23 #include <libgupnp/gupnp-control-point.h>
24 #include <safec_lib.h>
25 #define RBUS_XUPNP_SERVICE_PROVIDER "rbus.xupnp.dlna"
26 #define XUPNP_SERVICE_CONTENT_DIR "urn:schemas-upnp-org:service:ContentDirectory:1"
27 #define XUPNP_DEVICE_MEDIASERVER_CONTROL_URN "urn:schemas-upnp-org:device:MediaServer:1"
30 #define BROWSE_MODE_CHILD_NODE "BrowseDirectChildren"
31 #define BROWSE_MODE_META_DATA "BrowseMetadata"
33 GUPnPControlPoint* *cp_media_rndr;
39 GUPnPServiceInfo * browserService;
44 void init_rpc_iface();
45 void close_rpc_iface();
46 bool browse_remote_dir_with_udn(
const char * server_udn,
const char * path_id,
int start_index,
47 int max_entries,
int *totalCount,
char **results);
51 #endif //_MEDIA_BROWSER_PRIVATE_H_