| libsyncdaemon Reference Manual | ||||
|---|---|---|---|---|
| Top | Description | Object Hierarchy | ||||
SyncdaemonStatusInterface; SyncdaemonStatusInterfaceClass; GSList * syncdaemon_status_interface_get_current_downloads (SyncdaemonStatusInterface *interface); SyncdaemonStatusInfo * syncdaemon_status_interface_get_current_status (SyncdaemonStatusInterface *interface); GSList * syncdaemon_status_interface_get_current_uploads (SyncdaemonStatusInterface *interface); SyncdaemonStatusInterface * syncdaemon_status_interface_new (SyncdaemonDaemon *daemon);
typedef struct {
SyncdaemonInterfaceClass parent_class;
} SyncdaemonStatusInterfaceClass;
GSList * syncdaemon_status_interface_get_current_downloads
(SyncdaemonStatusInterface *interface);
Returns : |
A GSList of SyncdaemonTransferInfo objects, each of which contains information about a file download in progress. The data in the list belongs to the library, so when no longer needed, the list should be freed by just calling g_slist_free. |
SyncdaemonStatusInfo * syncdaemon_status_interface_get_current_status
(SyncdaemonStatusInterface *interface);
Returns : |
A SyncdaemonStatusInfo object containing information about Syncdaemon's current status. When no longer needed, it should be freed by calling g_object_unref. |
GSList * syncdaemon_status_interface_get_current_uploads
(SyncdaemonStatusInterface *interface);
Returns : |
A GSList of SyncdaemonTransferInfo objects, each of which contains information about a file upload in progress. The data in the list belongs to the library, so when no longer needed, the list should be freed by just calling g_slist_free. |
SyncdaemonStatusInterface * syncdaemon_status_interface_new
(SyncdaemonDaemon *daemon);