utils_subst: Added a module providing functions for string substitution.
authorSebastian Harl <sh@tokkee.org>
Wed, 29 Oct 2008 20:24:00 +0000 (21:24 +0100)
committerFlorian Forster <octo@leeloo.lan.home.verplant.org>
Sun, 2 Nov 2008 13:26:15 +0000 (14:26 +0100)
commit7371e2680e5111ea23ffc7c625bc5f871fb43377
treeed6d17aea39b4cb2e10f67d6c36837f4bb1a5b49
parent68b1016245664c48a9d093a2f35f82166311d80e
utils_subst: Added a module providing functions for string substitution.

Currently, the functions subst() and asubst() are available which may be used
to replace parts of a string with a specified replacement text. The latter
automatically allocates the memory required for the return value while the
former writes to a user specified buffer.
src/Makefile.am
src/utils_subst.c [new file with mode: 0644]
src/utils_subst.h [new file with mode: 0644]