mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-02 22:46:30 +02:00
common: New function substitute_envvars.
* common/stringhelp.c (substitute_envvars): New. Based on code in gpg-connect-agent. * common/t-stringhelp.c: Include sysutils.h. (test_substitute_envvars): New. -- GnuPG-bug-id: 5599
This commit is contained in:
parent
a756a61f19
commit
f0162afb6b
3 changed files with 206 additions and 0 deletions
|
@ -166,6 +166,9 @@ int compare_version_strings (const char *my_version, const char *req_version);
|
|||
/* Format a string so that it fits within about TARGET_COLS columns. */
|
||||
char *format_text (const char *text, int target_cols, int max_cols);
|
||||
|
||||
/* Substitute environmen variabales in STRING. */
|
||||
char *substitute_envvars (const char *string);
|
||||
|
||||
|
||||
/*-- mapstrings.c --*/
|
||||
const char *map_static_macro_string (const char *string);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue