Serj Kalichev
|
d389ed2501
Free the ptype's regexp only if the pattern is set.
|
14 years ago |
Serj Kalichev
|
59c2a15862
Fix IP_ADDR_ANY PTYPE
|
14 years ago |
Serj Kalichev
|
2b8b3f67a5
The script callback can return the output of the executed action. The konf_buf class now use fd instead sock and can return the whole readed line.
|
14 years ago |
Serj Kalichev
|
e8de3db91d
lub_argv structure saves the whole line. lub_argv__get_line() function
|
14 years ago |
Serj Kalichev
|
f36856372b
Optimize script callback.
|
14 years ago |
Serj Kalichev
|
c77f40d8a3
Create unique FIFO for shebang emulation.
|
14 years ago |
Serj Kalichev
|
461ec9f1ae
Trying to fix broken script execution. Not stable.
|
14 years ago |
Serj Kalichev
|
ea400c7333
Fix build problem with MSG_NOSIGNAL on OpenBSD.
|
14 years ago |
Serj Kalichev
|
9e1cfbb1b5
Add shell_expand.c
|
14 years ago |
Serj Kalichev
|
04b1b50125
Close unneeded descriptors
|
14 years ago |
Serj Kalichev
|
138b10ba64
Fix issue #15. The default_shebang in STARTUP tag is implemented.
|
14 years ago |
Serj Kalichev
|
496654bf7b
The shebang for the ACTION was implemented. Issue #15.
|
14 years ago |
Serj Kalichev
|
6073c2c287
New ping and route commands implementation in xml-examples. Regards to lff.
|
14 years ago |
Serj Kalichev
|
3c5f954934
Fix XML schema. The examples is validated now.
|
14 years ago |
Serj Kalichev
|
0d6eb48a10
Fix XML schema structure.
|
14 years ago |
Serj Kalichev
|
06fa60f5a6
Remove unneeded files.
|
14 years ago |
Serj Kalichev
|
1441376ed5
Simplify klish xml-examples infrastructure.
|
14 years ago |
Serj Kalichev
|
aa35c4b919
Fix konfd daemon behaviour. It remove its socket from filesystem.
|
14 years ago |
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 |