mate-desktop 1.29.2
Library with common API for various MATE modules
Loading...
Searching...
No Matches
mate-systemd.h File Reference
View source
#include <gio/gio.h>
Include dependency graph for mate-systemd.h:
This graph shows which files directly or indirectly include this file:

Functions

void mate_start_systemd_scope (const char *name, gint32 pid, const char *description, GDBusConnection *connection, GCancellable *cancellable, GAsyncReadyCallback callback, gpointer user_data)
 
gboolean mate_start_systemd_scope_finish (GAsyncResult *res, GError **error)
 mate_start_systemd_scope_finish: @res: A #GAsyncResult @error: Return location for errors, or NULL to ignore
 

Function Documentation

◆ mate_start_systemd_scope()

void mate_start_systemd_scope ( const char *  name,
gint32  pid,
const char *  description,
GDBusConnection *  connection,
GCancellable *  cancellable,
GAsyncReadyCallback  callback,
gpointer  user_data 
)

◆ mate_start_systemd_scope_finish()

gboolean mate_start_systemd_scope_finish ( GAsyncResult *  res,
GError **  error 
)

mate_start_systemd_scope_finish: @res: A #GAsyncResult @error: Return location for errors, or NULL to ignore

Finish an asynchronous operation to create a transient scope that was started with mate_start_systemd_scope().

Note that a successful return code does not imply that a unit has been created. It solely means that no error condition was hit sending the request.

Returns: FALSE on error, TRUE otherwise