]> xenbits.xensource.com Git - libvirt.git/commit
parallels: login to parallels SDK
authorDmitry Guryanov <dguryanov@parallels.com>
Thu, 11 Sep 2014 16:24:03 +0000 (20:24 +0400)
committerMichal Privoznik <mprivozn@redhat.com>
Thu, 25 Sep 2014 13:42:32 +0000 (15:42 +0200)
commite7bb373fdfcd5c572639957444ccafd35f190949
tree6849da10ee3fe5547aa0f1c2203a4a48b7a3fbff
parent64018e0c83a4f690a4c3078f20f14ca5ba555b41
parallels: login to parallels SDK

Add files parallels_sdk.c and parallels_sdk.h for code
which works with SDK, so libvirt's code will not mix with
dealing with parallels SDK.

To use Parallels SDK you must first call PrlApi_InitEx function,
and then you will be able to connect to a server with
PrlSrv_LoginLocalEx function. When you've done you must call
PrlApi_Deinit. So let's call PrlApi_InitEx on first .connectOpen,
count number of connections and deinitialize, when this counter
becomes zero.

Signed-off-by: Dmitry Guryanov <dguryanov@parallels.com>
po/POTFILES.in
src/Makefile.am
src/parallels/parallels_driver.c
src/parallels/parallels_sdk.c [new file with mode: 0644]
src/parallels/parallels_sdk.h [new file with mode: 0644]
src/parallels/parallels_utils.h