mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-04-01 20:05:19 +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;
|
||||
virSystemdHasLogind;
|
||||
virSystemdHasLogindResetCachedValue;
|
||||
virSystemdHasMachined;
|
||||
virSystemdHasMachinedResetCachedValue;
|
||||
virSystemdMakeScopeName;
|
||||
virSystemdMakeSliceName;
|
||||
|
@ -147,7 +147,7 @@ void virSystemdHasLogindResetCachedValue(void)
|
||||
* -1 = error
|
||||
* 0 = machine1 is available
|
||||
*/
|
||||
static int
|
||||
int
|
||||
virSystemdHasMachined(void)
|
||||
{
|
||||
int ret;
|
||||
|
@ -57,6 +57,8 @@ int virSystemdTerminateMachine(const char *name);
|
||||
|
||||
void virSystemdNotifyStartup(void);
|
||||
|
||||
int virSystemdHasMachined(void);
|
||||
|
||||
int virSystemdHasLogind(void);
|
||||
|
||||
int virSystemdCanSuspend(bool *result);
|
||||
|
Loading…
x
Reference in New Issue
Block a user