Browse Source

app_mono: fixed c&p typo names in examples

Daniel-Constantin Mierla 13 years ago
parent
commit
f71d76c0f3
2 changed files with 10 additions and 10 deletions
  1. 8 8
      modules/app_mono/README
  2. 2 2
      modules/app_mono/doc/app_mono_admin.xml

+ 8 - 8
modules/app_mono/README

@@ -16,7 +16,7 @@ Alex Balashov
 
 
    <[email protected]>
    <[email protected]>
 
 
-   Copyright © 2012 Daniel-Constantin Mierla (asipto.com)
+   Copyright © 2012 Daniel-Constantin Mierla (asipto.com)
      __________________________________________________________________
      __________________________________________________________________
 
 
    Table of Contents
    Table of Contents
@@ -43,8 +43,8 @@ Alex Balashov
    List of Examples
    List of Examples
 
 
    1.1. Set load parameter
    1.1. Set load parameter
-   1.2. lua_dofile usage
-   1.3. lua_run usage
+   1.2. mono_exec usage
+   1.3. mono_run usage
 
 
 Chapter 1. Admin Guide
 Chapter 1. Admin Guide
 
 
@@ -113,7 +113,7 @@ Chapter 1. Admin Guide
    Set the path to the Mono assembly to be loaded at startup. You can use
    Set the path to the Mono assembly to be loaded at startup. You can use
    mono_run(param) to execute the assembly at runtime.
    mono_run(param) to execute the assembly at runtime.
 
 
-   Default value is “null�.
+   Default value is "null".
 
 
    Example 1.1. Set load parameter
    Example 1.1. Set load parameter
 ...
 ...
@@ -125,7 +125,7 @@ modparam("app_mono", "load", "/usr/local/etc/kamailio/mono/myscript.exe")
    4.1. mono_exec(path [, param])
    4.1. mono_exec(path [, param])
    4.2. mono_run([param])
    4.2. mono_run([param])
 
 
-4.1.  mono_exec(path [, param])
+4.1. mono_exec(path [, param])
 
 
    Execute the managed code assembly stored in 'path'. The path can be a
    Execute the managed code assembly stored in 'path'. The path can be a
    string with pseudo-variables evaluated at runtime. A second parameter
    string with pseudo-variables evaluated at runtime. A second parameter
@@ -135,12 +135,12 @@ modparam("app_mono", "load", "/usr/local/etc/kamailio/mono/myscript.exe")
    change to it is immediately live. This function cannot be used if
    change to it is immediately live. This function cannot be used if
    'load' parameter is set.
    'load' parameter is set.
 
 
-   Example 1.2. lua_dofile usage
+   Example 1.2. mono_exec usage
 ...
 ...
 mono_exec("/usr/local/etc/kamailio/mono/myscript.exe");
 mono_exec("/usr/local/etc/kamailio/mono/myscript.exe");
 ...
 ...
 
 
-4.2.  mono_run([param])
+4.2. mono_run([param])
 
 
    Execute the assembly specified by 'load' module parameter. The assembly
    Execute the assembly specified by 'load' module parameter. The assembly
    is loaded at startup, so changes to it will be effective only after
    is loaded at startup, so changes to it will be effective only after
@@ -150,7 +150,7 @@ mono_exec("/usr/local/etc/kamailio/mono/myscript.exe");
    assembly. It can be a string with pseudo-variables; these will be
    assembly. It can be a string with pseudo-variables; these will be
    evaluated at runtime.
    evaluated at runtime.
 
 
-   Example 1.3. lua_run usage
+   Example 1.3. mono_run usage
 ...
 ...
 if(!mono_run("myparam"))
 if(!mono_run("myparam"))
 {
 {

+ 2 - 2
modules/app_mono/doc/app_mono_admin.xml

@@ -111,7 +111,7 @@ modparam("app_mono", "load", "/usr/local/etc/kamailio/mono/myscript.exe")
 		parameter is set.
 		parameter is set.
 		</para>
 		</para>
 		<example>
 		<example>
-		<title><function>lua_dofile</function> usage</title>
+		<title><function>mono_exec</function> usage</title>
 		<programlisting format="linespecific">
 		<programlisting format="linespecific">
 ...
 ...
 mono_exec("/usr/local/etc/kamailio/mono/myscript.exe");
 mono_exec("/usr/local/etc/kamailio/mono/myscript.exe");
@@ -135,7 +135,7 @@ mono_exec("/usr/local/etc/kamailio/mono/myscript.exe");
 			evaluated at runtime.
 			evaluated at runtime.
 	    </para>
 	    </para>
 		<example>
 		<example>
-		<title><function>lua_run</function> usage</title>
+		<title><function>mono_run</function> usage</title>
 		<programlisting format="linespecific">
 		<programlisting format="linespecific">
 ...
 ...
 if(!mono_run("myparam"))
 if(!mono_run("myparam"))