Sfoglia il codice sorgente

app_mono: fixed c&p typo names in examples

Daniel-Constantin Mierla 13 anni fa
parent
commit
f71d76c0f3
2 ha cambiato i file con 10 aggiunte e 10 eliminazioni
  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]>
 
-   Copyright © 2012 Daniel-Constantin Mierla (asipto.com)
+   Copyright © 2012 Daniel-Constantin Mierla (asipto.com)
      __________________________________________________________________
 
    Table of Contents
@@ -43,8 +43,8 @@ Alex Balashov
    List of Examples
 
    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
 
@@ -113,7 +113,7 @@ Chapter 1. Admin Guide
    Set the path to the Mono assembly to be loaded at startup. You can use
    mono_run(param) to execute the assembly at runtime.
 
-   Default value is “null�.
+   Default value is "null".
 
    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.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
    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
    '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");
 ...
 
-4.2.  mono_run([param])
+4.2. mono_run([param])
 
    Execute the assembly specified by 'load' module parameter. The assembly
    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
    evaluated at runtime.
 
-   Example 1.3. lua_run usage
+   Example 1.3. mono_run usage
 ...
 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.
 		</para>
 		<example>
-		<title><function>lua_dofile</function> usage</title>
+		<title><function>mono_exec</function> usage</title>
 		<programlisting format="linespecific">
 ...
 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.
 	    </para>
 		<example>
-		<title><function>lua_run</function> usage</title>
+		<title><function>mono_run</function> usage</title>
 		<programlisting format="linespecific">
 ...
 if(!mono_run("myparam"))