src/scanner.h

changeset 66
be2084398c37
parent 61
9c8d768f0244
equal deleted inserted replaced
65:49fa681f3a7e 66:be2084398c37
31 #include "settings.h" 31 #include "settings.h"
32 #include "string_list.h" 32 #include "string_list.h"
33 33
34 typedef struct { 34 typedef struct {
35 char *dir; 35 char *dir;
36 int spaces; 36 unsigned spaces;
37 } scanner_t; 37 } scanner_t;
38 38
39 typedef struct { 39 typedef struct {
40 int count; 40 unsigned count;
41 int capacity; 41 unsigned capacity;
42 char** extensions; 42 char** extensions;
43 int* lines; 43 unsigned* result;
44 } scanresult_ext_t; 44 } scanresult_ext_t;
45 45
46 typedef struct { 46 typedef struct {
47 int lines; 47 unsigned result;
48 scanresult_ext_t* ext; 48 scanresult_ext_t* ext;
49 } scanresult_t; 49 } scanresult_t;
50 50
51 #ifdef _cplusplus 51 #ifdef _cplusplus
52 extern "C" { 52 extern "C" {

mercurial