src/scanner.h

changeset 60
69be673a4fd0
parent 57
68018eac46c3
child 61
9c8d768f0244
equal deleted inserted replaced
59:c5409c8be36f 60:69be673a4fd0
34 typedef struct { 34 typedef struct {
35 char *dir; 35 char *dir;
36 int spaces; 36 int spaces;
37 } scanner_t; 37 } scanner_t;
38 38
39 typedef struct {
40 int directory;
41 } scanresult_t;
42
39 #ifdef _cplusplus 43 #ifdef _cplusplus
40 extern "C" { 44 extern "C" {
41 #endif 45 #endif
42 46
43 int scanDirectory(scanner_t scanner, settings_t* settings, 47 void scanDirectory(scanner_t scanner, settings_t* settings,
44 string_list_t* output); 48 string_list_t* output, scanresult_t* result);
45 49
46 #ifdef _cplusplus 50 #ifdef _cplusplus
47 } 51 }
48 #endif 52 #endif
49 53

mercurial