*
* It handles signals from two interfaces:
*
- * 1. The #LAHandler interface which provides the %handle-register signal.
+ * 1. The #LAHandler interface which provides the "handle-register" signal.
* On receiving this signal it registers that systemd unit as a shutdown client with
* the Node State manager.
*
- * 2. The #ShutdownConsumer interface which provides the %handle-lifecycle-request signal.
- * On receiving this signal it shuts down the unit corresponding to that shutdown
- * client.
+ * 2. The #ShutdownConsumer interface which provides the "handle-lifecycle-request"
+ * signal. On receiving this signal it shuts down the unit corresponding to that
+ * shutdown client.
*/
}
+
/**
* la_handler_service_new:
* @connection: A connection to the system bus.
/**
* la_handler_service_start:
- * @error: Return location for error or %NULL
+ * @service: A #LAHandlerService.
+ * @error: Return location for error or %NULL.
*
* Makes @service export its #LAHandler interface so that it is available to the
* #legacy-app-handler helper binary.
/**
* la_handler_service_get_nsm_consumer:
+ * @service: A #LAHandlerService.
+ *
+ * Retrieves the #NSMConsumer stored in @service.
*
* Returns: A proxy of the Node State Manager's #NSMConsumer interface.
*/
/**
* la_handler_service_deregister_consumers:
+ * @service: A #LAHandlerService.
*
* Unregisters every #ShutdownClient from the Node State Manager.
* This method is typically used when the #LAHandlerService is about to shut down.
JobManager *job_manager) G_GNUC_MALLOC G_GNUC_WARN_UNUSED_RESULT;
gboolean la_handler_service_start (LAHandlerService *service,
GError **error);
-void la_handler_service_register (LAHandlerService *service,
- const gchar *unit,
- const gchar *mode,
- guint timeout,
- GAsyncReadyCallback callback,
- gpointer user_data);
NSMConsumer *la_handler_service_get_nsm_consumer (LAHandlerService *service);
void la_handler_service_deregister_consumers (LAHandlerService *service);