[Freeswitch-svn] [commit] r9901 - in freeswitch/trunk/src/mod/languages/mod_managed: . managed

Freeswitch SVN michaelgg at freeswitch.org
Wed Oct 8 20:11:22 EDT 2008


Author: michaelgg
Date: Wed Oct  8 20:11:21 2008
New Revision: 9901

Modified:
   freeswitch/trunk/src/mod/languages/mod_managed/managed/AssemblyInfo.cs
   freeswitch/trunk/src/mod/languages/mod_managed/managed/Loader.cs
   freeswitch/trunk/src/mod/languages/mod_managed/mod_managed.cpp

Log:
Cleanup: Rename mod_managed_lib to FreeSWITCH.Managed

Modified: freeswitch/trunk/src/mod/languages/mod_managed/managed/AssemblyInfo.cs
==============================================================================
--- freeswitch/trunk/src/mod/languages/mod_managed/managed/AssemblyInfo.cs	(original)
+++ freeswitch/trunk/src/mod/languages/mod_managed/managed/AssemblyInfo.cs	Wed Oct  8 20:11:21 2008
@@ -5,11 +5,11 @@
 // 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("")]

Modified: freeswitch/trunk/src/mod/languages/mod_managed/managed/Loader.cs
==============================================================================
--- freeswitch/trunk/src/mod/languages/mod_managed/managed/Loader.cs	(original)
+++ freeswitch/trunk/src/mod/languages/mod_managed/managed/Loader.cs	Wed Oct  8 20:11:21 2008
@@ -54,7 +54,7 @@
         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 @@
 
         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 @@
         /// <summary>Runs an application function.</summary>
         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;

Modified: freeswitch/trunk/src/mod/languages/mod_managed/mod_managed.cpp
==============================================================================
--- freeswitch/trunk/src/mod/languages/mod_managed/mod_managed.cpp	(original)
+++ freeswitch/trunk/src/mod/languages/mod_managed/mod_managed.cpp	Wed Oct  8 20:11:21 2008
@@ -56,7 +56,7 @@
 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



More information about the Freeswitch-svn mailing list