![]() |
![]() |
![]() |
Storaged Reference Manual | ![]() |
---|---|---|---|---|
Top | Description | Object Hierarchy | Implemented Interfaces |
StoragedSimpleJob; StoragedSimpleJob * storaged_simple_job_new (StoragedDaemon *daemon
,GCancellable *cancellable
); void storaged_simple_job_complete (StoragedSimpleJob *job
,gboolean succeess
,const gchar *message
);
GObject +----GDBusInterfaceSkeleton +----StoragedJobSkeleton +----StoragedBaseJob +----StoragedSimpleJob
typedef struct _StoragedSimpleJob StoragedSimpleJob;
The StoragedSimpleJob structure contains only private data and should only be accessed using the provided API.
StoragedSimpleJob * storaged_simple_job_new (StoragedDaemon *daemon
,GCancellable *cancellable
);
Creates a new StoragedSimpleJob instance.
Call storaged_simple_job_complete()
to compelte the returned job.
|
A StoragedDaemon. |
|
A GCancellable or NULL . |
Returns : |
A new StoragedSimpleJob. Free with g_object_unref() . |
void storaged_simple_job_complete (StoragedSimpleJob *job
,gboolean succeess
,const gchar *message
);
Completes job
.
|
A StoragedSimpleJob. |
|
Whether the job succeeded. |
|
An error message or NULL . |