Switch to unified view

a/src/utils/idfile.h b/src/utils/idfile.h
...
...
19
/* @(#$Id: idfile.h,v 1.3 2006-01-30 11:15:28 dockes Exp $  (C) 2004 J.F.Dockes */
19
/* @(#$Id: idfile.h,v 1.3 2006-01-30 11:15:28 dockes Exp $  (C) 2004 J.F.Dockes */
20
20
21
#include <string>
21
#include <string>
22
#include <list>
22
#include <list>
23
23
24
// Return mime type for file or empty string. The system's file utility does
24
// Look at data inside file or string, and return mime type or empty string. 
25
// a bad job on mail folders. idFile only looks for mail file types for now, 
25
//
26
// but this may change
26
// The system's file utility does a bad job on mail folders. idFile
27
// only looks for mail file types for now, but this may change
28
27
extern std::string idFile(const char *fn);
29
extern std::string idFile(const char *fn);
30
extern std::string idFileMem(const std::string& data);
28
31
29
// Return all types known to us
32
// Return all types known to us
30
extern std::list<std::string> idFileAllTypes();
33
extern std::list<std::string> idFileAllTypes();
31
34
32
#endif /* _IDFILE_H_INCLUDED_ */
35
#endif /* _IDFILE_H_INCLUDED_ */