Switch to unified view

a/src/bincimapmime/mime-inputsource.h b/src/bincimapmime/mime-inputsource.h
...
...
24
 *  --------------------------------------------------------------------
24
 *  --------------------------------------------------------------------
25
 */
25
 */
26
#ifndef mime_inputsource_h_included
26
#ifndef mime_inputsource_h_included
27
#define mime_inputsource_h_included
27
#define mime_inputsource_h_included
28
28
29
#ifdef HAVE_CONFIG_H
29
// Data source for MIME parser
30
#include <config.h>
30
31
#endif
31
// Note about large files: we might want to change the unsigned int
32
// used for offsets into an off_t for intellectual satisfaction, but
33
// in the context of recoll, we could only get into trouble if a
34
// *single message* exceeded 2GB, which seems rather unlikely. When
35
// parsing a mailbox files, we read each message in memory and use the
36
// stream input source (from a memory buffer, no file offsets). When
37
// parsing a raw message file, it's only one message.
32
38
33
#include <string.h>
39
#include <string.h>
34
#include <unistd.h>
40
#include "safeunistd.h"
35
41
36
#include <iostream>
42
#include <iostream>
37
43
38
namespace Binc {
44
namespace Binc {
39
45