Switch to unified view

a/src/utils/idfile.h b/src/utils/idfile.h
...
...
16
 */
16
 */
17
#ifndef _IDFILE_H_INCLUDED_
17
#ifndef _IDFILE_H_INCLUDED_
18
#define _IDFILE_H_INCLUDED_
18
#define _IDFILE_H_INCLUDED_
19
19
20
#include <string>
20
#include <string>
21
#include <list>
22
21
23
// Look at data inside file or string, and return mime type or empty string. 
22
// Look at data inside file or string, and return mime type or empty string. 
24
//
23
//
25
// The system's file utility does a bad job on mail folders. idFile
24
// The system's file utility does a bad job on mail folders. idFile
26
// only looks for mail file types for now, but this may change
25
// only looks for mail file types for now, but this may change
27
26
28
extern std::string idFile(const char *fn);
27
extern std::string idFile(const char *fn);
29
extern std::string idFileMem(const std::string& data);
28
extern std::string idFileMem(const std::string& data);
30
29
31
// Return all types known to us
32
extern std::list<std::string> idFileAllTypes();
33
34
#endif /* _IDFILE_H_INCLUDED_ */
30
#endif /* _IDFILE_H_INCLUDED_ */