Serj Kalichev
|
1a733d2882
Add internal getopt implamentation. BSD version
|
11 éve |
Serj Kalichev
|
21e5c5ae08
Fix UNIX_PATH_MAX portability problem. Thanks to S.Galabov
|
11 éve |
Serj Kalichev
|
28bdfb7c6a
Minor cosmetic changes
|
12 éve |
Serj Kalichev
|
36567a4fbc
Don't set optind for command line options parsing. The opt parsing within query is a problem
|
12 éve |
Serj Kalichev
|
eb0379fe22
Fix optind initialization while opt parsing
|
12 éve |
Serj Kalichev
|
9a99a31305
Add header for getopt() for systems without getopt.h
|
12 éve |
Serj Kalichev
|
8dbeed3251
Fix konfd sequences enumeration.
|
13 éve |
Serj Kalichev
|
6856285b91
The konf returns right retval when daemon report error code. More informative error messages.
|
13 éve |
Serj Kalichev
|
ea400c7333
Fix build problem with MSG_NOSIGNAL on OpenBSD.
|
14 éve |
Serj Kalichev
|
f947f5c11b
Use getopt_long() for utilities if getopt.h exists.
|
14 éve |
Serj Kalichev
|
a1df9b1b25
Implement --dry-run (-d) option for clish. The ACTION will not be actually executed. Fix version number of clish.
|
14 éve |
Serj Kalichev
|
5dfc1dac2c
Fix help for konf and konfd
|
14 éve |
Serj Kalichev
|
2270083925
The dynamic version definition in utilities.
|
14 éve |
Serj Kalichev
|
60b4c906f7
The konfd daemon understands now the -s option. It's a path to UNIX socket to listen on.
|
14 éve |
Serj Kalichev
|
1d13ee420a
Move receive_answer() to konf/net.h with name konf_client_recv_answer().
|
14 éve |
Serj Kalichev
|
b4cde206fa
Implement konf_client_recv_data() instead receive_data()
|
14 éve |
Serj Kalichev
|
4d2eb6f625
A little cleanup in konf utility.
|
14 éve |
Serj Kalichev
|
bd806d77e3
konf client can analyze command line args. The command to konfd must be located after -- option.
|
14 éve |
Serj Kalichev
|
e7e65d4623
The konf can escape encode arguments before passing them to the konfd daemon.
|
14 éve |
Serj Kalichev
|
34d2dea2fa
Semi-working utility konf to communicate to konfd daemon. TODO: Code duplication, quotes support.
|
14 éve |