Skip to content

Commit

Permalink
app_java: typos
Browse files Browse the repository at this point in the history
  • Loading branch information
dilyanpalauzov authored and miconda committed Mar 30, 2023
1 parent 7e6942f commit 0a062c9
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 10 deletions.
12 changes: 6 additions & 6 deletions src/modules/app_java/README-draft
Original file line number Diff line number Diff line change
Expand Up @@ -344,7 +344,7 @@ java_method_exec("ExampleMethod", "ZB", "true", "0x05");
# Equivalent of java prototype: public int ExampleMethod();
java_method_exec("ExampleMethod", "V");

# Equivalent of java prototype: public int ExampleMethod(String SipMessageBuffer, int SipMessageLenght);
# Equivalent of java prototype: public int ExampleMethod(String SipMessageBuffer, int SipMessageLength);
java_method_exec("ExampleMethod", "Ljava/lang/String;I", "$mb", "$ml");
...

Expand All @@ -359,7 +359,7 @@ java_method_exec("ExampleMethod", "Ljava/lang/String;I", "$mb", "$ml");
# Equivalent of java prototype: public synchronized int ExampleMethod();
java_s_method_exec("ExampleMethod", "V");

# Equivalent of java prototype: public synchronized int ExampleMethod(String SipMessageBuffer, int SipMessageLenght);
# Equivalent of java prototype: public synchronized int ExampleMethod(String SipMessageBuffer, int SipMessageLength);
java_s_method_exec("ExampleMethod", "Ljava/lang/String;I", "$mb", "$ml");
...

Expand All @@ -373,7 +373,7 @@ java_s_method_exec("ExampleMethod", "Ljava/lang/String;I", "$mb", "$ml");
# Equivalent of java prototype: public static int ExampleMethod();
java_staticmethod_exec("ExampleMethod", "V");

# Equivalent of java prototype: public static int ExampleMethod(String SipMessageBuffer, int SipMessageLenght);
# Equivalent of java prototype: public static int ExampleMethod(String SipMessageBuffer, int SipMessageLength);
java_staticmethod_exec("ExampleMethod", "Ljava/lang/String;I", "$mb", "$ml");
...

Expand All @@ -388,7 +388,7 @@ java_staticmethod_exec("ExampleMethod", "Ljava/lang/String;I", "$mb", "$ml");
# Equivalent of java prototype: public static synchronized int ExampleMethod();
java_s_staticmethod_exec("ExampleMethod", "V");

# Equivalent of java prototype: public static synchronized int ExampleMethod(String SipMessageBuffer, int SipMessageLenght);
# Equivalent of java prototype: public static synchronized int ExampleMethod(String SipMessageBuffer, int SipMessageLength);
java_s_staticmethod_exec("ExampleMethod", "Ljava/lang/String;I", "$mb", "$ml");
...

Expand Down Expand Up @@ -567,7 +567,7 @@ public class Kamailio extends NativeMethods

5.3.8. String dst_uri;

Destination URI, must be forwarded to this URI if dst_url lenght != 0
Destination URI, must be forwarded to this URI if dst_url length != 0

5.3.9. int parsed_uri_ok;

Expand All @@ -583,7 +583,7 @@ public class Kamailio extends NativeMethods

5.3.12. int add_to_branch_len;

Lenght of add_to_branch_s
Length of add_to_branch_s

5.3.13. int hash_index;

Expand Down
4 changes: 2 additions & 2 deletions src/modules/app_java/doc/app_java_admin.xml
Original file line number Diff line number Diff line change
Expand Up @@ -271,8 +271,8 @@ modparam("app_java", "force_cmd_exec", 1)
Parameters are optional, omitting a parameter meant the passed value is NULL.
Parameters count should be exactly the same as signature count.
Note 1: Arrays representation (symbol '[') is not supported yet.
Note 2: You shall use a correct signature, e.g. the following examples of
combinations are invalid:
Note 2: You shall use a correct signature, e.g. the following examples
of combinations are invalid:
java_method_exec("ExampleMethod", "ZI", "False");
java_method_exec("ExampleMethod", "LI", "something", "5");
</programlisting>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ public SipMsg()


public String new_uri; // changed first line uri, when you change this
public String dst_uri; // Destination URI, must be forwarded to this URI if dst_url lenght != 0
public String dst_uri; // Destination URI, must be forwarded to this URI if dst_url length != 0
public int parsed_uri_ok; // 1 if parsed_orig_uri is valid, 0 if not, set if to 0 if you modify the uri (e.g change new_uri)
public int parsed_orig_ruri_ok; // 1 if parsed_orig_uri is valid, 0 if not, set if to 0 if you modify the uri (e.g change new_uri)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ public SipMsg()


public String new_uri; // changed first line uri, when you change this
public String dst_uri; // Destination URI, must be forwarded to this URI if dst_url lenght != 0
public String dst_uri; // Destination URI, must be forwarded to this URI if dst_url length != 0
public int parsed_uri_ok; // 1 if parsed_orig_uri is valid, 0 if not, set if to 0 if you modify the uri (e.g change new_uri)
public int parsed_orig_ruri_ok; // 1 if parsed_orig_uri is valid, 0 if not, set if to 0 if you modify the uri (e.g change new_uri)

Expand Down

0 comments on commit 0a062c9

Please sign in to comment.