Serj Kalichev
|
f947f5c11b
Use getopt_long() for utilities if getopt.h exists.
|
14 years ago |
Serj Kalichev
|
4274b34a44
Implement -w and -i clish options to set startup view and viewid.
|
14 years ago |
Serj Kalichev
|
2cf9cd656d
Implement -x clish utility option to set path to get XMLs from.
|
14 years ago |
Serj Kalichev
|
a1df9b1b25
Implement --dry-run (-d) option for clish. The ACTION will not be actually executed. Fix version number of clish.
|
14 years ago |
Serj Kalichev
|
96d51f14c6
Implement -e option for clish binary. It's stop on error flag. By default - no stop on error.
|
14 years ago |
Serj Kalichev
|
a941ca386a
Fix file stack to get commands from. The shell can be inited without instream.
|
14 years ago |
Serj Kalichev
|
b3360a7ca6
More reentrant code. The strtok() is replaced by strtok_r(). Fix issue #31.
|
14 years ago |
Serj Kalichev
|
e1d3d3592d
The internal variables is available for 'test' in the nested parameters.
|
14 years ago |
Serj Kalichev
|
db72aa7235
Use viewid while 'test' conditions expanding.
|
14 years ago |
Serj Kalichev
|
34ce492654
Fix 'test' problem with prefixed PARAM.
|
14 years ago |
Serj Kalichev
|
f9577c53bd
Ignore parameters with failed conditions
|
14 years ago |
Serj Kalichev
|
fa109feae3
The 'test' field for PARAM
|
14 years ago |
Serj Kalichev
|
acf6aaf536
Add 'test' utility implementation from OpenBSD. The test.c is public domain.
|
14 years ago |
Serj Kalichev
|
f6dfa1ea97
Fix PARAM help. Issue #29.
|
14 years ago |
Serj Kalichev
|
ed36dafc7c
The advanced ping command in xml examples. Thanks to lff.
|
14 years ago |
Serj Kalichev
|
92662b0135
Fix segmentation when the path of konfd socket is NULL.
|
14 years ago |
Serj Kalichev
|
fbce1160ec
The clish option -l implemented. It starts clish without using locking mechanism. It needed when the clish is executed from clish's ACTION. Nesting clish execution.
|
14 years ago |
Serj Kalichev
|
877d51f349
The clish now undertand -h (help), -v (version) and -s (set konfd socket) options.
|
14 years ago |
Serj Kalichev
|
995638b463
The clish utility will not use threads by default. The appropriate API is implemented.
|
14 years ago |
Serj Kalichev
|
b1da1b8949
Fix xml examples due to locking mechanism.
|
14 years ago |
Serj Kalichev
|
989d349e5f
Fix exit on script error.
|
14 years ago |
Serj Kalichev
|
7f452f368d
The spawn API refactoring.
|
14 years ago |
Serj Kalichev
|
9da6384274
Escape the ';' char in params for the security reasons.
|
14 years ago |
Serj Kalichev
|
4ca9156930
The spawn API changing. Not stable yet. Don't use this technological revision.
|
14 years ago |
Serj Kalichev
|
946cc8d4dc
The locking is implemented. When command is executing the enother clish can't execute commands. The action and config changes is atomic.
|
14 years ago |
Serj Kalichev
|
f1592c82c6
Add clish_variable__get_value() function.
|
14 years ago |
Serj Kalichev
|
c62fe8d9ac
Check the input parameters in pargv library.
|
14 years ago |
Serj Kalichev
|
5dfc1dac2c
Fix help for konf and konfd
|
14 years ago |
Serj Kalichev
|
2270083925
The dynamic version definition in utilities.
|
14 years ago |
Serj Kalichev
|
60b4c906f7
The konfd daemon understands now the -s option. It's a path to UNIX socket to listen on.
|
14 years ago |