mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-08-28 11:31:16 +00:00
virsystemd: export virSystemdHasMachined
Signed-off-by: Pavel Hrdina <phrdina@redhat.com> Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
This commit is contained in:
parent
c32f172d12
commit
a51147d906
@ -3304,6 +3304,7 @@ virSystemdGetActivation;
|
|||||||
virSystemdGetMachineNameByPID;
|
virSystemdGetMachineNameByPID;
|
||||||
virSystemdHasLogind;
|
virSystemdHasLogind;
|
||||||
virSystemdHasLogindResetCachedValue;
|
virSystemdHasLogindResetCachedValue;
|
||||||
|
virSystemdHasMachined;
|
||||||
virSystemdHasMachinedResetCachedValue;
|
virSystemdHasMachinedResetCachedValue;
|
||||||
virSystemdMakeScopeName;
|
virSystemdMakeScopeName;
|
||||||
virSystemdMakeSliceName;
|
virSystemdMakeSliceName;
|
||||||
|
@ -147,7 +147,7 @@ void virSystemdHasLogindResetCachedValue(void)
|
|||||||
* -1 = error
|
* -1 = error
|
||||||
* 0 = machine1 is available
|
* 0 = machine1 is available
|
||||||
*/
|
*/
|
||||||
static int
|
int
|
||||||
virSystemdHasMachined(void)
|
virSystemdHasMachined(void)
|
||||||
{
|
{
|
||||||
int ret;
|
int ret;
|
||||||
|
@ -57,6 +57,8 @@ int virSystemdTerminateMachine(const char *name);
|
|||||||
|
|
||||||
void virSystemdNotifyStartup(void);
|
void virSystemdNotifyStartup(void);
|
||||||
|
|
||||||
|
int virSystemdHasMachined(void);
|
||||||
|
|
||||||
int virSystemdHasLogind(void);
|
int virSystemdHasLogind(void);
|
||||||
|
|
||||||
int virSystemdCanSuspend(bool *result);
|
int virSystemdCanSuspend(bool *result);
|
||||||
|
Loading…
Reference in New Issue
Block a user