From 2f488fe2f082b1c5073a589516c32c42f5043852 Mon Sep 17 00:00:00 2001 From: Michael Giagnocavo Date: Thu, 9 Oct 2008 00:11:21 +0000 Subject: [PATCH] Cleanup: Rename mod_managed_lib to FreeSWITCH.Managed git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9901 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- src/mod/languages/mod_managed/managed/AssemblyInfo.cs | 4 ++-- src/mod/languages/mod_managed/managed/Loader.cs | 6 +++--- src/mod/languages/mod_managed/mod_managed.cpp | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/mod/languages/mod_managed/managed/AssemblyInfo.cs b/src/mod/languages/mod_managed/managed/AssemblyInfo.cs index afb64faa41..4d2fd4dea6 100644 --- a/src/mod/languages/mod_managed/managed/AssemblyInfo.cs +++ b/src/mod/languages/mod_managed/managed/AssemblyInfo.cs @@ -5,11 +5,11 @@ using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. -[assembly: AssemblyTitle("mod_managed_lib")] +[assembly: AssemblyTitle("FreeSWITCH.Managed")] [assembly: AssemblyDescription("")] [assembly: AssemblyConfiguration("")] [assembly: AssemblyCompany("")] -[assembly: AssemblyProduct("mod_managed_lib")] +[assembly: AssemblyProduct("FreeSWITCH.Managed")] [assembly: AssemblyCopyright("Copyright © 2008")] [assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")] diff --git a/src/mod/languages/mod_managed/managed/Loader.cs b/src/mod/languages/mod_managed/managed/Loader.cs index 6c64d57e5e..af21f398d3 100644 --- a/src/mod/languages/mod_managed/managed/Loader.cs +++ b/src/mod/languages/mod_managed/managed/Loader.cs @@ -54,7 +54,7 @@ namespace FreeSWITCH public static bool Load() { managedDir = Path.Combine(Native.freeswitch.SWITCH_GLOBAL_dirs.mod_dir, "managed"); - Log.WriteLine(LogLevel.Debug, "mod_managed_lib loader is starting with directory '{0}'.", managedDir); + Log.WriteLine(LogLevel.Debug, "FreeSWITCH.Managed loader is starting with directory '{0}'.", managedDir); if (!Directory.Exists(managedDir)) { Log.WriteLine(LogLevel.Error, "Managed directory not found: {0}", managedDir); return false; @@ -166,7 +166,7 @@ namespace FreeSWITCH public static void Unload() { - Log.WriteLine(LogLevel.Debug, "mod_managed_lib Loader is unloading."); + Log.WriteLine(LogLevel.Debug, "FreeSWITCH.Managed Loader is unloading."); foreach (var t in functions.Values) { try { var unloadMethod = t.GetMethod("Unload", methodBindingFlags, null, Type.EmptyTypes, null); @@ -271,7 +271,7 @@ namespace FreeSWITCH /// Runs an application function. public static bool Run(string command, IntPtr sessionHandle) { - Log.WriteLine(LogLevel.Debug, "mod_managed_lib: attempting to run application '{0}'.", command); + Log.WriteLine(LogLevel.Debug, "FreeSWITCH.Managed: attempting to run application '{0}'.", command); System.Diagnostics.Debug.Assert(sessionHandle != IntPtr.Zero, "sessionHandle is null."); var parsed = parseCommand(command); if (parsed == null) return false; diff --git a/src/mod/languages/mod_managed/mod_managed.cpp b/src/mod/languages/mod_managed/mod_managed.cpp index cb4e6ef4dd..bf22b4f755 100644 --- a/src/mod/languages/mod_managed/mod_managed.cpp +++ b/src/mod/languages/mod_managed/mod_managed.cpp @@ -56,7 +56,7 @@ SWITCH_STANDARD_API(managed_api_function); /* Execute */ SWITCH_STANDARD_APP(managed_app_function); /* Run */ SWITCH_STANDARD_API(managed_loadassembly); /* Load assembly */ -#define MOD_MANAGED_ASM_NAME "mod_managed_lib" +#define MOD_MANAGED_ASM_NAME "FreeSWITCH.Managed" #define MOD_MANAGED_ASM_V1 1 #define MOD_MANAGED_ASM_V2 0 #define MOD_MANAGED_ASM_V3 2