You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+3-1Lines changed: 3 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -14,7 +14,9 @@ EnduroX have binddings for:
14
14
15
15
Supported operating system: GNU/Linux, starting from 2.6.12 kernel (needed for POSIX Queues). Starting with Enduro/X Version 3.1.2 IBM AIX (6.1 and 7.1), Oracle Solaris 11, MAC OS X (experimental) and Cygwin (experimental) support is added. Supported compilers: gcc, LLVM clang, IBM xlC.
16
16
17
-
- Build and installation guides are located at: http://www.endurox.org
17
+
- Build and installation guides are located at: www.endurox.org/dokuwiki
18
+
19
+
- Support forum: www.endurox.org
18
20
19
21
- Binary builds (RPMs & DEBs) for various platforms are here: http://www.endurox.org/projects/endurox/files
Copy file name to clipboardExpand all lines: doc/manpage/cconfsrv.adoc
+31-7Lines changed: 31 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -24,9 +24,8 @@ XATMI service calls.
24
24
25
25
API - get section
26
26
-----------------
27
-
The server can work in two modes.
28
27
29
-
1. Get mode ('EX_CC_CMD' UBF buffer set to 'g' (default)). In this mode the request for configuration is made for particular
28
+
Get mode ('EX_CC_CMD' UBF buffer set to 'g' (default)). In this mode the request for configuration is made for particular
30
29
section. The config files (or directories) for which to do the lookup can be set in 'EX_CC_RESOURCE' field, you may use
31
30
multiple occurrences. If field is not set, then lookup is done in all files which are loaded into configuration library. This
32
31
includes Enduro/X own config files, which are set in *NDRX_CCONFIG* environment variables (see ex_env(5)). The get request
@@ -95,15 +94,40 @@ It is possible request format verification. The key-format fields are used into
95
94
96
95
*nX..Y* or *n..Y* (e.g. n2..5, n..3) - Numeric field (can be floating point format). Min length X (measured as string) and max length Y (measured as string).
97
96
98
-
2. Second mode for configuration server is requesting a config listing. This enters service in conversational mode. The configuration listing mode is requested by setting 'EX_CC_CMD' to 'l'.
97
+
API - list sections
98
+
-------------------
99
+
It is possible to enter in conversational mode in request sections which begins with certain phrase
100
+
or it is possible to list all sections for given resources. To enter is list mode you need to call
101
+
the configuration server with 'EX_CC_CMD' UBF buffer field set 'l'. If this is the only field
102
+
then all sections from default Enduro/X configuration files will be returned.
103
+
104
+
The sections which starts with phrase can be set in 'EX_CC_LOOKUPSECTION' UBF field occurrences. Resource
105
+
to lookup can be specified in 'EX_CC_RESOURCE'.
99
106
100
107
EXIT STATUS
101
108
-----------
102
-
*0*::
103
-
Success
109
+
When error occurs, the configuration service returns *TPESVCFAIL*, and 'EX_NERROR_CODE' is set to corresponding
110
+
error code. 'EX_NERROR_MSG' have some additional information about error condition.
111
+
112
+
*EX_NERROR_CODE* values:
113
+
114
+
*1* Invalid INI file(s).
115
+
116
+
*2* Malloc failed (system have low of memory or some kind of other system related problem).
117
+
118
+
*3* Unix error occurred.
104
119
105
-
*1*::
106
-
Failure
120
+
*4* Invalid arguments passed.
121
+
122
+
*5* System failure.
123
+
124
+
*6* Mandatory field is missing. 'EX_NERROR_MSG' specifies the exact problematic field.
125
+
126
+
*7* Field value format error. 'EX_NERROR_MSG' specifies the exact problematic field.
127
+
128
+
EXAMPLE
129
+
-------
130
+
See *atmitest/test030_cconfsrv/atmiclt30.c* for sample code.
0 commit comments