#include <stdio.h>#include <sys/types.h>#include <fcntl.h>#include <string.h>#include <curl/curl.h>#include <unistd.h>#include <cybergarage/http/chttp.h>#include <cybergarage/net/curl.h>#include <cybergarage/net/curi.h>#include <cybergarage/util/cstring.h>#include "helper.h"#include "interface.h"#include "browser.h"#include "resource_selection.h"Data Structures | |
| struct | _DownloadFile |
Typedefs | |
| typedef _DownloadFile | DownloadFile |
Functions | |
| gchar * | extract_host_from_uri (gchar *uri) |
| gchar * | extract_port_from_uri (gchar *uri) |
| gchar * | extract_rel_uri_from_uri (gchar *uri) |
| gchar * | extract_filename_from_uri (gchar *uri) |
| gboolean | download_idle (gpointer user_data) |
| gboolean | save_data_to_file () |
| gboolean | find_device_from_model (GtkTreeModel *model, char *udn, int udn_col, GtkTreeIter *iter) |
| long | track_duration_to_long (gchar *duration) |
| gchar * | long_to_track_duration (long duration) |
Variables | |
| UPnPBrowserWidgets * | widgets |
|
|
Struct that is used to pass the uri and FILE* for the file downloader |
|
|
File downloader function |
|
|
Extract the file name from the given absolute URI.
|
|
|
Extract host from the given absolute URI.
|
|
|
Extract port from the given absolute URI.
|
|
|
Extract the relative URI from the given absolute URI.
|
|
||||||||||||||||||||
|
Find a device from the tree model by the device's UDN.
|
|
|
Convert a long int to CurrentTrackDuration data type (seconds) Doesn't care about fractions (.F+ or .F0/F1).
|
|
|
Save data to a file |
|
|
Convert a CurrentTrackDuration data type to long int (seconds). Doesn't care about fractions (.F+ or .F0/F1).
|
|
|
Global struct that holds the application widgets |
1.4.6