From d4ff44ab8db091ca0e7d1c8caa74f32784e672ef Mon Sep 17 00:00:00 2001 From: Joseph Hunkeler Date: Thu, 2 May 2024 00:44:56 -0400 Subject: Move listdir to utils.c and export prototype --- include/utils.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'include/utils.h') 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 -- cgit