6ced92452c
* Add special handling for reading the BEOS:TYPE attribute to supply on-the-fly fake MIME types for FUSE module filesystems, the same way it's done in our FAT and NTFS FS modules * Reuse the mime_ext_table which we already have and put it into a shared location so we don't get further extra copies of it
25 lines
392 B
C
25 lines
392 B
C
/*
|
|
Copyright 1999-2001, Be Incorporated. All Rights Reserved.
|
|
This file may be used under the terms of the Be Sample Code License.
|
|
*/
|
|
|
|
#ifndef MIME_TYPES_H
|
|
#define MIME_TYPES_H
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
|
|
extern const char* kAttrMimeTypeName;
|
|
|
|
extern status_t set_mime(const char** mime, const char* filename);
|
|
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
|
|
#endif
|