[sr-dev] git:master:33570d9f: jsonrpc-c: added note that it depends on Linux specific API

Daniel-Constantin Mierla miconda at gmail.com
Fri Jan 23 10:49:00 CET 2015


Module: kamailio
Branch: master
Commit: 33570d9f575e3b0566ac5f0b9904940420be9ae2
URL: https://github.com/kamailio/kamailio/commit/33570d9f575e3b0566ac5f0b9904940420be9ae2

Author: Daniel-Constantin Mierla <miconda at gmail.com>
Committer: Daniel-Constantin Mierla <miconda at gmail.com>
Date: 2015-01-23T10:47:45+01:00

jsonrpc-c: added note that it depends on Linux specific API

- reported by Olle E. Johansson, GH#33

---

Modified: modules/jsonrpc-c/README
Modified: modules/jsonrpc-c/doc/jsonrpc-c_admin.xml

---

Diff:  https://github.com/kamailio/kamailio/commit/33570d9f575e3b0566ac5f0b9904940420be9ae2.diff
Patch: https://github.com/kamailio/kamailio/commit/33570d9f575e3b0566ac5f0b9904940420be9ae2.patch

---

diff --git a/modules/jsonrpc-c/README b/modules/jsonrpc-c/README
index bfa8ea3..fcddab0 100644
--- a/modules/jsonrpc-c/README
+++ b/modules/jsonrpc-c/README
@@ -10,7 +10,7 @@ Jordan Levy
 
    <jordan at flowroute.com>
 
-   Copyright © 2011 Flowroute LLC (flowroute.com)
+   Copyright © 2011 Flowroute LLC (flowroute.com)
      __________________________________________________________________
 
    Table of Contents
@@ -77,6 +77,9 @@ Chapter 1. Admin Guide
    2.1. Kamailio Modules
    2.2. External Libraries or Applications
 
+   This module uses Linux specific API, it might not compile on other
+   types of operating systems.
+
 2.1. Kamailio Modules
 
    The following modules must be loaded before this module:
@@ -112,7 +115,7 @@ modparam("jsonrpc", "servers", "localhost:9999,2 10.10.0.1:9999,2 backup.server:
    4.2. jsonrpc_request(method, parameters, return_route, error_route,
           result_var)
 
-4.1.  jsonrpc_notification(method, parameters)
+4.1. jsonrpc_notification(method, parameters)
 
    Invokes the remote 'method' with the given 'parameters' as a
    notification. Unlike jsonrpc_request (below), notifications do not
@@ -127,7 +130,7 @@ modparam("jsonrpc", "servers", "localhost:9999,2 10.10.0.1:9999,2 backup.server:
 jsonrpc_notification("update_user", "{'id': 1234, 'name': 'Petros'}")
 ...
 
-4.2.  jsonrpc_request(method, parameters, return_route, error_route,
+4.2. jsonrpc_request(method, parameters, return_route, error_route,
 result_var)
 
    Invokes the remote 'method' with the given 'parameters'. When the
diff --git a/modules/jsonrpc-c/doc/jsonrpc-c_admin.xml b/modules/jsonrpc-c/doc/jsonrpc-c_admin.xml
index ef5dcae..c27508b 100644
--- a/modules/jsonrpc-c/doc/jsonrpc-c_admin.xml
+++ b/modules/jsonrpc-c/doc/jsonrpc-c_admin.xml
@@ -32,6 +32,10 @@
 
 	<section>
 		<title>Dependencies</title>
+		<para>
+			This module uses Linux specific API, it might not compile on other
+			types of operating systems.
+		</para>
 		<section>
 			<title>&kamailio; Modules</title>
 			<para>




More information about the sr-dev mailing list