mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-11 07:17:44 +00:00
parallels: fix headers in parallels_sdk.h
Return value of functions prlsdkStart/Kill/Stop e.t.c. is PRL_RESULT in parallels_sdk.c and int in parallels_sdk.h. PRL_RESULT is int, so compiler didn't report errors. Let's fix the difference. Signed-off-by: Dmitry Guryanov <dguryanov@parallels.com>
This commit is contained in:
parent
97a1d94fa0
commit
18558ae80f
@ -35,11 +35,11 @@ prlsdkAddDomain(parallelsConnPtr privconn, const unsigned char *uuid);
|
||||
int prlsdkUpdateDomain(parallelsConnPtr privconn, virDomainObjPtr dom);
|
||||
int prlsdkSubscribeToPCSEvents(parallelsConnPtr privconn);
|
||||
void prlsdkUnsubscribeFromPCSEvents(parallelsConnPtr privconn);
|
||||
int prlsdkStart(parallelsConnPtr privconn, PRL_HANDLE sdkdom);
|
||||
int prlsdkKill(parallelsConnPtr privconn, PRL_HANDLE sdkdom);
|
||||
int prlsdkStop(parallelsConnPtr privconn, PRL_HANDLE sdkdom);
|
||||
int prlsdkPause(parallelsConnPtr privconn, PRL_HANDLE sdkdom);
|
||||
int prlsdkResume(parallelsConnPtr privconn, PRL_HANDLE sdkdom);
|
||||
PRL_RESULT prlsdkStart(parallelsConnPtr privconn, PRL_HANDLE sdkdom);
|
||||
PRL_RESULT prlsdkKill(parallelsConnPtr privconn, PRL_HANDLE sdkdom);
|
||||
PRL_RESULT prlsdkStop(parallelsConnPtr privconn, PRL_HANDLE sdkdom);
|
||||
PRL_RESULT prlsdkPause(parallelsConnPtr privconn, PRL_HANDLE sdkdom);
|
||||
PRL_RESULT prlsdkResume(parallelsConnPtr privconn, PRL_HANDLE sdkdom);
|
||||
|
||||
typedef PRL_RESULT (*prlsdkChangeStateFunc)(parallelsConnPtr privconn, PRL_HANDLE sdkdom);
|
||||
int
|
||||
|
Loading…
Reference in New Issue
Block a user