From: Pavel Charvat Date: Fri, 6 Dec 2013 22:32:14 +0000 (+0100) Subject: LibUCW: Added `ucw-' prefix to utils. X-Git-Tag: v5.99~59 X-Git-Url: http://mj.ucw.cz/gitweb/?a=commitdiff_plain;h=78a39d6019e14a576bd58a26f0c161980ae51daf;p=libucw.git LibUCW: Added `ucw-' prefix to utils. --- diff --git a/ucw/daemon.h b/ucw/daemon.h index c5beacc0..303e8c84 100644 --- a/ucw/daemon.h +++ b/ucw/daemon.h @@ -95,7 +95,7 @@ enum daemon_control_action { **/ enum daemon_control_status daemon_control(struct daemon_control_params *dc); -// XXX: Also used as exit codes of the daemon-control utility. +// XXX: Also used as exit codes of the ucw-daemon-control utility. enum daemon_control_status { DAEMON_STATUS_OK = 0, DAEMON_STATUS_ALREADY_DONE = 100, diff --git a/ucw/default.cfg b/ucw/default.cfg index 7a2236da..ec8feabb 100644 --- a/ucw/default.cfg +++ b/ucw/default.cfg @@ -44,7 +44,7 @@ Set("CONFIG_UCW_SHELL_UTILS" => 1); # Include utilities Set("CONFIG_UCW_UTILS" => 1); -# Include obsolete daemon-helper utility +# Include obsolete ucw-daemon-helper utility UnSet("CONFIG_UCW_OBSOLETE_DAEMON_HELPER"); # Default configuration file diff --git a/ucw/doc/basecode.txt b/ucw/doc/basecode.txt index 6741470e..ca2aa86e 100644 --- a/ucw/doc/basecode.txt +++ b/ucw/doc/basecode.txt @@ -58,7 +58,7 @@ way as base64. The basecode utility -------------------- You can use the encoding/decoding routines from command line, trough -`basecode` command. You have to specify the operation by a command +`ucw-basecode` command. You have to specify the operation by a command line argument and give it the data on standard input. The arguments are: diff --git a/ucw/doc/daemon.txt b/ucw/doc/daemon.txt index a58c92f4..6077e603 100644 --- a/ucw/doc/daemon.txt +++ b/ucw/doc/daemon.txt @@ -58,7 +58,7 @@ since there can be multiple instances of the daemon running simultaneously. We therefore recommend the following daemon control protocol, which prevents all such race conditions. Its implementation is available in form of the daemon_control() library -function or the `daemon-control` stand-alone utility. +function or the `ucw-daemon-control` stand-alone utility. * There exist two files: ** PID file (usually `/var/run/daemon.pid`), which contains the PID of the daemon diff --git a/ucw/shell/Makefile b/ucw/shell/Makefile index 62ecb968..96491f73 100644 --- a/ucw/shell/Makefile +++ b/ucw/shell/Makefile @@ -1,17 +1,17 @@ # Support routines for shell scripts DIRS+=ucw/shell -UCW_SHELL_PROGS=$(addprefix $(o)/ucw/shell/,config logger logoutput) +UCW_SHELL_PROGS=$(addprefix $(o)/ucw/shell/ucw-,config logger logoutput) PROGS+=$(UCW_SHELL_PROGS) DATAFILES+=$(o)/ucw/shell/libucw.sh -$(o)/ucw/shell/config: $(o)/ucw/shell/config.o $(LIBUCW) -$(o)/ucw/shell/logger: $(o)/ucw/shell/logger.o $(LIBUCW) -$(o)/ucw/shell/logoutput: $(o)/ucw/shell/logoutput.o $(LIBUCW) +$(o)/ucw/shell/ucw-config: $(o)/ucw/shell/ucw-config.o $(LIBUCW) +$(o)/ucw/shell/ucw-logger: $(o)/ucw/shell/ucw-logger.o $(LIBUCW) +$(o)/ucw/shell/ucw-logoutput: $(o)/ucw/shell/ucw-logoutput.o $(LIBUCW) TESTS+=$(addprefix $(o)/ucw/shell/,config.test) -$(o)/ucw/shell/config.test: $(o)/ucw/shell/config +$(o)/ucw/shell/config.test: $(o)/ucw/shell/ucw-config INSTALL_TARGETS+=install-ucw-shell install-ucw-shell: diff --git a/ucw/shell/config.c b/ucw/shell/config.c deleted file mode 100644 index 780ff792..00000000 --- a/ucw/shell/config.c +++ /dev/null @@ -1,435 +0,0 @@ -/* - * UCW Library -- Shell Interface to Configuration Files - * - * (c) 2002--2005 Martin Mares - * (c) 2006 Robert Spalek - * (c) 2006 Pavel Charvat - * - * Once we were using this beautiful Shell version, but it turned out - * that it doesn't work with nested config files: - * - * eval `sed -#include -#include -#include -#include -#include -#include -#include -#include - -#include -#include -#include -#include - -static void -help(void) -{ - fputs("\n\ -Usage: config [-C] [-S
.