From 557384a0628c82303db29ff0b81ac77c8fdb5a1d Mon Sep 17 00:00:00 2001 From: Haru Date: Thu, 3 Jan 2019 23:14:39 +0100 Subject: Extend the findfile() function with a general purpose context argument Signed-off-by: Haru --- src/common/utils.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/common/utils.h') diff --git a/src/common/utils.h b/src/common/utils.h index f564dcf29..81234c843 100644 --- a/src/common/utils.h +++ b/src/common/utils.h @@ -39,7 +39,7 @@ void WriteDump(FILE* fp, const void* buffer, size_t length); void ShowDump(const void* buffer, size_t length); -void findfile(const char *p, const char *pat, void (func)(const char*)); +void findfile(const char *p, const char *pat, void (func)(const char *, void *), void *context); bool exists(const char* filename); /// calculates the value of A / B, in percent (rounded down) -- cgit v1.2.3-70-g09d2