]> git.ipfire.org Git - thirdparty/open-vm-tools.git/commitdiff
Re-organize the Tools Core public headers (1/2).
authorVMware, Inc <>
Tue, 17 Nov 2009 21:46:11 +0000 (13:46 -0800)
committerMarcelo Vanzin <mvanzin@vmware.com>
Tue, 17 Nov 2009 21:46:11 +0000 (13:46 -0800)
These headers will form the base of the public Tools Core interface, so
they need to be moved to the "fully qualified" location.

This change just moves the headers to the new location. (For the
perforce-minded folks, I am branching / editing the new files, so
history is kept as far as where the contents come from.)

Signed-off-by: Marcelo Vanzin <mvanzin@vmware.com>
open-vm-tools/docs/api/Makefile.am
open-vm-tools/lib/include/vmware/tools/guestrpc.h [moved from open-vm-tools/lib/include/rpcChannel.h with 98% similarity]
open-vm-tools/lib/include/vmware/tools/plugin.h [moved from open-vm-tools/lib/include/vmtoolsApp.h with 98% similarity]
open-vm-tools/lib/include/vmware/tools/rpcdebug.h [moved from open-vm-tools/lib/include/vmrpcdbg.h with 96% similarity]
open-vm-tools/lib/include/vmware/tools/utils.h [moved from open-vm-tools/lib/include/vmtools.h with 97% similarity]

index aee120fa2200417f98baf5465673d2be0017ae7e..84f84ff55689de6a7ca3e5f56a5bb362ed1a561b 100644 (file)
 DOXYGEN_INPUT =
 DOXYGEN_INPUT += $(top_srcdir)/docs/api
 DOXYGEN_INPUT += $(top_srcdir)/docs/api/services
-DOXYGEN_INPUT += $(top_srcdir)/lib/include/rpcChannel.h
-DOXYGEN_INPUT += $(top_srcdir)/lib/include/vmtoolsApp.h
-DOXYGEN_INPUT += $(top_srcdir)/lib/include/vmtools.h
-DOXYGEN_INPUT += $(top_srcdir)/lib/include/vmrpcdbg.h
+DOXYGEN_INPUT += $(top_srcdir)/lib/include/vmware/tools
 DOXYGEN_INPUT += $(top_srcdir)/libvmtools
 DOXYGEN_INPUT += $(top_srcdir)/tests/vmrpcdbg
 
@@ -32,6 +29,8 @@ DOXYGEN_CPP_PREDEFINED += G_LOG_DOMAIN=
 DOXYGEN_CPP_EXPAND =
 
 DOXYGEN_EXTRA_PATTERNS =
+DOXYGEN_EXTRA_PATTERNS += *.c
+DOXYGEN_EXTRA_PATTERNS += *.h
 DOXYGEN_EXTRA_PATTERNS += *.txt
 
 # This rule has no dependencies, so it's executed every time. Not optimal,
similarity index 98%
rename from open-vm-tools/lib/include/rpcChannel.h
rename to open-vm-tools/lib/include/vmware/tools/guestrpc.h
index 65939fd591ea764a40d08bcf9f65b3d627448794..c26c588c626e0cc6f93dc8f5c2899dffb8e0cc11 100644 (file)
  *
  *********************************************************/
 
-#ifndef _RPCCHANNEL_H_
-#define _RPCCHANNEL_H_
+#ifndef _VMWARE_TOOLS_GUESTRPC_H_
+#define _VMWARE_TOOLS_GUESTRPC_H_
 
 /**
- * @file rpcChannel.h
+ * @file guestrpc.h
  *
  *    Defines the interface between applications and the underlying GuestRPC
  *    channel. The goal is to have an abstraction so applications can run over
@@ -41,7 +41,7 @@
 #endif
 
 #include <glib.h>
-#include "vmtools.h"
+#include "vmware/tools/utils.h"
 
 /** Alias for RpcChannel_SetRetVals. */
 #define RPCIN_SETRETVALS RpcChannel_SetRetVals
similarity index 98%
rename from open-vm-tools/lib/include/vmtoolsApp.h
rename to open-vm-tools/lib/include/vmware/tools/plugin.h
index ea35df76cbaedc51129e55f67e56c3a71ff5594a..76d86bdb1ce547c0d54552ecda82382a7ecff2ae 100644 (file)
  *
  *********************************************************/
 
-#ifndef _VMTOOLSAPP_H_
-#define _VMTOOLSAPP_H_
+#ifndef _VMWARE_TOOLS_PLUGIN_H_
+#define _VMWARE_TOOLS_PLUGIN_H_
 
 /**
- * @file vmtoolsApp.h
+ * @file plugin.h
  *
  *    Defines the interface between the core tools services and the plugins
  *    that are dynamically loaded into the service.
@@ -34,8 +34,8 @@
 #  include <windows.h>
 #  include <objbase.h>
 #endif
-#include "rpcChannel.h"
 #include "vmware/guestrpc/capabilities.h"
+#include "vmware/tools/guestrpc.h"
 
 /**
  * Error reporting macro. Call this if the app encounters an error
@@ -432,5 +432,5 @@ typedef ToolsPluginData *(*ToolsPluginOnLoad)(ToolsAppCtx *ctx);
 
 /** @} */
 
-#endif /* _VMTOOLSAPP_H_ */
+#endif /* _VMWARE_TOOLS_PLUGIN_H_ */
 
similarity index 96%
rename from open-vm-tools/lib/include/vmrpcdbg.h
rename to open-vm-tools/lib/include/vmware/tools/rpcdebug.h
index 9b1d17c75d10b631c0b351e5c6dd15ed7ca8bd08..d229ac0b5183ee5a2f70a1be379013dfc21901a7 100644 (file)
  *
  *********************************************************/
 
-#ifndef _VMRPCDBG_H_
-#define _VMRPCDBG_H_
+#ifndef _VMWARE_TOOLS_RPCDEBUG_H_
+#define _VMWARE_TOOLS_RPCDEBUG_H_
 
 /**
- * @file vmrpcdbg.h
+ * @file rpcdebug.h
  *
  * Defines the public API for the "GuestRPC Debug Channel" implementation, and
  * the interface between the debug library and debug plugins.
@@ -29,7 +29,7 @@
  * @{
  */
 
-#include "vmtoolsApp.h"
+#include "vmware/tools/plugin.h"
 
 struct RpcDebugPlugin;
 
@@ -163,5 +163,5 @@ RpcDebug_Shutdown(ToolsAppCtx *ctx,
 
 /** @} */
 
-#endif /* _VMRPCDBG_H_ */
+#endif /* _VMWARE_TOOLS_RPCDEBUG_H_ */
 
similarity index 97%
rename from open-vm-tools/lib/include/vmtools.h
rename to open-vm-tools/lib/include/vmware/tools/utils.h
index 37bcd053ee86dc1987005eaec071ed3a116bd9e6..6f59ababad8c6ed9ec17226f0bb1c17d83aacdb3 100644 (file)
  *
  *********************************************************/
 
-#ifndef _VMTOOLS_H_
-#define _VMTOOLS_H_
+#ifndef _VMWARE_TOOLS_UTILS_H_
+#define _VMWARE_TOOLS_UTILS_H_
 
 /**
- * @file vmtools.h
+ * @file utils.h
  *
  *    Public functions from the VMTools shared library.
  *
@@ -149,5 +149,5 @@ VMTools_WrapArray(gconstpointer data,
 
 /** @} */
 
-#endif /* _VMTOOLS_H_ */
+#endif /* _VMWARE_TOOLS_UTILS_H_ */