src/scanner.h

changeset 61
9c8d768f0244
parent 60
69be673a4fd0
child 66
be2084398c37
--- a/src/scanner.h	Sat Jul 25 18:28:01 2020 +0200
+++ b/src/scanner.h	Mon Jul 27 17:19:56 2020 +0200
@@ -37,7 +37,15 @@
 } scanner_t;
 
 typedef struct {
-  int directory;
+  int count;
+  int capacity;
+  char** extensions;
+  int* lines; 
+} scanresult_ext_t;
+
+typedef struct {
+  int lines;
+  scanresult_ext_t* ext;
 } scanresult_t;
 
 #ifdef _cplusplus
@@ -47,6 +55,10 @@
 void scanDirectory(scanner_t scanner, settings_t* settings,
         string_list_t* output, scanresult_t* result);
 
+scanresult_t* new_scanresult_t(settings_t* settings);
+void destroy_scanresult_t(scanresult_t*);
+
+
 #ifdef _cplusplus
 }
 #endif 

mercurial