src/scanner.h

changeset 60
69be673a4fd0
parent 57
68018eac46c3
child 61
9c8d768f0244
     1.1 --- a/src/scanner.h	Sat Jul 25 17:53:54 2020 +0200
     1.2 +++ b/src/scanner.h	Sat Jul 25 18:28:01 2020 +0200
     1.3 @@ -36,12 +36,16 @@
     1.4    int spaces;
     1.5  } scanner_t;
     1.6  
     1.7 +typedef struct {
     1.8 +  int directory;
     1.9 +} scanresult_t;
    1.10 +
    1.11  #ifdef _cplusplus
    1.12  extern "C" {
    1.13  #endif
    1.14  
    1.15 -int scanDirectory(scanner_t scanner, settings_t* settings,
    1.16 -        string_list_t* output);
    1.17 +void scanDirectory(scanner_t scanner, settings_t* settings,
    1.18 +        string_list_t* output, scanresult_t* result);
    1.19  
    1.20  #ifdef _cplusplus
    1.21  }

mercurial