From 93d822b66f5e0f4d083f5110ff34904df0cd0292 Mon Sep 17 00:00:00 2001 From: Michael Jerris Date: Tue, 14 Feb 2006 18:18:40 +0000 Subject: [PATCH] add mod_zeroconf to msvc build, and fix compile error. git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@614 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- src/include/switch_loadable_module.h | 14 +++++++------- .../mod_zeroconf/mod_zeroconf.vcproj | 14 +++++++++----- w32/vsnet/FreeSwitchCore.vcproj | 8 ++++---- w32/vsnet/Freeswitch.sln | 10 ++++++++++ w32/vsnet/GetLibs.vbs | 9 ++++++++- 5 files changed, 38 insertions(+), 17 deletions(-) diff --git a/src/include/switch_loadable_module.h b/src/include/switch_loadable_module.h index adc9572a9d..1d0277b704 100644 --- a/src/include/switch_loadable_module.h +++ b/src/include/switch_loadable_module.h @@ -197,18 +197,18 @@ SWITCH_DECLARE(switch_status) switch_api_execute(char *cmd, char *arg, char *ret \param filename the path to the module's dll or so file \return SWITCH_STATUS_SUCCESS on a successful load */ -switch_status switch_module_load(const switch_loadable_module_interface **interface, char *filename); -switch_status switch_module_reload(void); -switch_status switch_module_pause(void); -switch_status switch_module_resume(void); -switch_status switch_module_status(void); -switch_status switch_module_runtime(void); +SWITCH_MOD_DECLARE(switch_status) switch_module_load(const switch_loadable_module_interface **interface, char *filename); +SWITCH_MOD_DECLARE(switch_status) switch_module_reload(void); +SWITCH_MOD_DECLARE(switch_status) switch_module_pause(void); +SWITCH_MOD_DECLARE(switch_status) switch_module_resume(void); +SWITCH_MOD_DECLARE(switch_status) switch_module_status(void); +SWITCH_MOD_DECLARE(switch_status) switch_module_runtime(void); /*! \brief Shutdown a module \return SWITCH_STATUS_SUCCESS on a successful shutdown */ -switch_status switch_module_shutdown(void); +SWITCH_MOD_DECLARE(switch_status) switch_module_shutdown(void); ///\} #ifdef __cplusplus diff --git a/src/mod/event_handlers/mod_zeroconf/mod_zeroconf.vcproj b/src/mod/event_handlers/mod_zeroconf/mod_zeroconf.vcproj index 9b84f39cdb..ef2ffd9985 100644 --- a/src/mod/event_handlers/mod_zeroconf/mod_zeroconf.vcproj +++ b/src/mod/event_handlers/mod_zeroconf/mod_zeroconf.vcproj @@ -3,7 +3,7 @@ ProjectType="Visual C++" Version="8.00" Name="mod_zeroconf" - ProjectGUID="{3A2A7795-C216-4FFF-B8EF-4D17A84BACCC}" + ProjectGUID="{C7705DC4-2088-493E-AF8D-65BC6D65C125}" RootNamespace="mod_zeroconf" Keyword="Win32Proj" > @@ -25,6 +25,7 @@ > =1 Then BuildModpcre=True Case "Mod_ldap" BuildModldap=True + Case "Mod_zeroconf" + BuildModzeroconf=True Case Else BuildCore=True BuildModExosip=True @@ -99,6 +102,7 @@ If objArgs.Count >=1 Then BuildVersion=True BuildModpcre=True BuildModldap=True + BuildModzeroconf=True End Select Else BuildCore=True @@ -113,6 +117,7 @@ Else BuildVersion=True BuildModldap=True BuildModpcre=True + BuildModzeroconf=True End If ' ****************** @@ -139,8 +144,10 @@ If BuildCore Then FSO.CopyFile LibDestDir & "libresample\include\*.h", LibDestDir & "include" BuildLibs_sqlite BuildDebug, BuildRelease FSO.CopyFile LibDestDir & "sqlite\*.h", LibDestDir & "include" +End If + +If BuildModzeroconf Then BuildLibs_howl BuildDebug, BuildRelease - FSO.CopyFile LibDestDir & "howl\include\*.h", LibDestDir & "include" End If If BuildModExosip Then