src/scanner.h

changeset 44
9574a181ec26
parent 36
a7ff583e153f
child 48
0d2c13c24fd0
equal deleted inserted replaced
43:104e75d18ede 44:9574a181ec26
32 #ifndef SCANNER_H_ 32 #ifndef SCANNER_H_
33 #define SCANNER_H_ 33 #define SCANNER_H_
34 34
35 #include "stdinc.h" 35 #include "stdinc.h"
36 #include "settings.h" 36 #include "settings.h"
37 #include "string_list.h"
37 38
38 typedef struct { 39 typedef struct {
39 char *dir; 40 char *dir;
40 int spaces; 41 int spaces;
41 } scanner_t; 42 } scanner_t;
42 43
43 #ifdef _cplusplus 44 #ifdef _cplusplus
44 extern "C" { 45 extern "C" {
45 #endif 46 #endif
46 47
47 int scanDirectory(scanner_t scanner, settings_t* settings); 48 int scanDirectory(scanner_t scanner, settings_t* settings,
49 string_list_t* output);
48 50
49 #ifdef _cplusplus 51 #ifdef _cplusplus
50 } 52 }
51 #endif 53 #endif
52 54

mercurial