]> git.ipfire.org Git - thirdparty/open-vm-tools.git/commit
Update the Hgfs server interface for tools
authorVMware, Inc <>
Tue, 24 Aug 2010 18:25:19 +0000 (11:25 -0700)
committerMarcelo Vanzin <mvanzin@vmware.com>
Tue, 24 Aug 2010 18:25:19 +0000 (11:25 -0700)
commitfe2ba7f4289784dc85b16e3558b239f084d2b705
tree87fb0972d9d9cf660683cd6c98c8acf41c0f89f3
parente42806e82ac995976a928f2c6f978736bb0f7397
Update the Hgfs server interface for tools

The Hgfs server interface was redone to work with multiple transports
however the tools side was left fudged.
Now upgrade the tools side interfaces into the Hgfs server.
The server interface is now hidden within the HgfsServerManager library.
The tools clients of the HGFS server now use the HgfsServerManager
interfaces directly:
HgfsServerManager_DataInit
HgfsServerManager_Register
HgfsServerManager_Unregister
HgfsServerManager_ProcessPacket

An HgfsServerManager guest is now built into the hgfs library with the server
and other related HGFS library code. The Hgfs server guest does not do any
RPC handling now as the library would have required building with both RPC
libraries and as such the RPC registering and callbacks are pushed back into
the caller.
At some future point when only one RPC library is used and all callers are built
in the same way, the HGFS RPC calls can be pushed back into the
HGfsServerManagerGuest to remove duplication of code.

Signed-off-by: Marcelo Vanzin <mvanzin@vmware.com>
15 files changed:
open-vm-tools/lib/hgfsServer/hgfsServer.c
open-vm-tools/lib/hgfsServerManagerGuest/Makefile.am
open-vm-tools/lib/hgfsServerManagerGuest/hgfsChannelGuest.c [new file with mode: 0644]
open-vm-tools/lib/hgfsServerManagerGuest/hgfsChannelGuestBd.c [new file with mode: 0644]
open-vm-tools/lib/hgfsServerManagerGuest/hgfsChannelGuestInt.h [new file with mode: 0644]
open-vm-tools/lib/hgfsServerManagerGuest/hgfsServerManagerGuest.c
open-vm-tools/lib/include/hgfsChannel.h [deleted file]
open-vm-tools/lib/include/hgfsServerManager.h
open-vm-tools/libhgfs/Makefile.am
open-vm-tools/services/plugins/hgfsServer/hgfsPlugin.c
open-vm-tools/services/plugins/vix/foundryToolsDaemon.c
open-vm-tools/services/plugins/vix/foundryToolsDaemon.h
open-vm-tools/services/plugins/vix/vixPlugin.c
open-vm-tools/services/plugins/vix/vixTools.c
open-vm-tools/services/plugins/vix/vixTools.h