haiku/headers/private/file_systems/mime_ext_table.h
Julian Harnath 6ced92452c FUSE compat: add MIME type faking
* 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
2017-02-27 19:58:22 +00:00

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