diff options
author | Laurent Bercot <ska-skaware@skarnet.org> | 2022-02-25 20:25:13 +0000 |
---|---|---|
committer | Laurent Bercot <ska@appnovation.com> | 2022-02-25 20:25:13 +0000 |
commit | baa4044ea53d50271af375dbe97ce6226b865781 (patch) | |
tree | 49610483871c3d1d388ef46b8dc20759c864a774 /src/include | |
parent | 336d9fedb35e577ce3aef12e633fcdeae04fe96d (diff) | |
download | skalibs-baa4044ea53d50271af375dbe97ce6226b865781.tar.xz |
Bloat envdir with a noclamp option
Signed-off-by: Laurent Bercot <ska@appnovation.com>
Diffstat (limited to 'src/include')
-rw-r--r-- | src/include/skalibs/env.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/include/skalibs/env.h b/src/include/skalibs/env.h index 73398c2..5e17dfa 100644 --- a/src/include/skalibs/env.h +++ b/src/include/skalibs/env.h @@ -24,6 +24,8 @@ extern size_t env_merg (char const **, size_t, char const *const *, char const * #define SKALIBS_ENVDIR_VERBATIM 0x01 #define SKALIBS_ENVDIR_NOCHOMP 0x02 +#define SKALIBS_ENVDIR_NOCLAMP 0x04 + extern int envdir_internal (char const *, stralloc *, unsigned int, char) ; #define envdir(path, sa) envdir_internal(path, (sa), 0, '\n') #define envdir_chomp(path, sa) envdir_internal(path, (sa), SKALIBS_ENVDIR_NOCHOMP, '\n') |