diff options
author | Joseph Hunkeler <jhunkeler@gmail.com> | 2024-05-02 00:44:56 -0400 |
---|---|---|
committer | Joseph Hunkeler <jhunkeler@gmail.com> | 2024-05-02 00:44:56 -0400 |
commit | d4ff44ab8db091ca0e7d1c8caa74f32784e672ef (patch) | |
tree | f68168dcc1be1594037223010fc916fc73eca7cf /include | |
parent | a970d40094aca5ce43e3bf91b9a5a2323c41ead8 (diff) | |
download | stasis-d4ff44ab8db091ca0e7d1c8caa74f32784e672ef.tar.gz |
Move listdir to utils.c and export prototype
Diffstat (limited to 'include')
-rw-r--r-- | include/utils.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/utils.h b/include/utils.h index 37ba50a..43bb618 100644 --- a/include/utils.h +++ b/include/utils.h @@ -308,4 +308,7 @@ char *collapse_whitespace(char **s); * @return 0 on success, -1 on error */ int redact_sensitive(const char **to_redact, char *src, char *dest, size_t maxlen); + +struct StrList *listdir(const char *path); + #endif //OMC_UTILS_H |