a/src/index/mimetype.h b/src/index/mimetype.h
1
#ifndef _MIMETYPE_H_INCLUDED_
1
#ifndef _MIMETYPE_H_INCLUDED_
2
#define _MIMETYPE_H_INCLUDED_
2
#define _MIMETYPE_H_INCLUDED_
3
/* @(#$Id: mimetype.h,v 1.3 2005-11-10 08:47:49 dockes Exp $  (C) 2004 J.F.Dockes */
3
/* @(#$Id: mimetype.h,v 1.4 2005-11-21 14:31:24 dockes Exp $  (C) 2004 J.F.Dockes */
4
4
5
#include <string>
5
#include <string>
6
#include "conftree.h"
7
6
7
class RclConfig;
8
8
9
/**
9
/**
10
 * Try to determine a mime type for filename. 
10
 * Try to determine a mime type for filename. 
11
 * This may imply more than matching the suffix, the name must be usable
11
 * This may imply more than matching the suffix, the name must be usable
12
 * to actually access file data.
12
 * to actually access file data.
13
 */
13
 */
14
string mimetype(const std::string &filename, ConfTree *mtypes, bool usfc);
14
string mimetype(const std::string &filename, RclConfig *cfg, bool usfc);
15
15
16
16
17
#endif /* _MIMETYPE_H_INCLUDED_ */
17
#endif /* _MIMETYPE_H_INCLUDED_ */