src/scanner.h

changeset 60
69be673a4fd0
parent 57
68018eac46c3
child 61
9c8d768f0244
--- a/src/scanner.h	Sat Jul 25 17:53:54 2020 +0200
+++ b/src/scanner.h	Sat Jul 25 18:28:01 2020 +0200
@@ -36,12 +36,16 @@
   int spaces;
 } scanner_t;
 
+typedef struct {
+  int directory;
+} scanresult_t;
+
 #ifdef _cplusplus
 extern "C" {
 #endif
 
-int scanDirectory(scanner_t scanner, settings_t* settings,
-        string_list_t* output);
+void scanDirectory(scanner_t scanner, settings_t* settings,
+        string_list_t* output, scanresult_t* result);
 
 #ifdef _cplusplus
 }

mercurial