Fri, 21 Oct 2011 15:09:26 +0200
encapsulated scanner arguments + enabled optimizer + empty file is no bfile
1 /*
2 * scanner.h
3 *
4 * Created on: 23.05.2011
5 * Author: Mike
6 */
8 #ifndef SCANNER_H_
9 #define SCANNER_H_
11 #include "stdinc.h"
12 #include "settings.h"
14 typedef struct {
15 char *dir;
16 int spaces;
17 } scanner_t;
19 #ifdef _cplusplus
20 extern "C" {
21 #endif
23 int scanDirectory(scanner_t scanner, settings_t* settings);
25 #ifdef _cplusplus
26 }
27 #endif
29 #endif /* SCANNER_H_ */