group
group__libshare__fsmime
Provides the definitions for common data formats.
Inode Mime Type
typedef struct shmime_def_t shmime_def_t
shmime_t* shmime
(char *type)
shmime_t* shmime_file
(shfs_ino_t *file)
char* shmime_print
(shmime_t *mime)
char** shmime_default_dirs
(void)
SHMIMEOP_NONE
0
A non-specific mime definition directive.
SHMIMEOP_SEXE
1
A SEXE executable path to process the mime type.
SHMIME_BINARY
"application/octet-stream"
SHMIME_TEXT_PLAIN
"text/plain"
SHMIME_APP_GZIP
"application/x-gzip"
SHMIME_APP_LINUX
"application/octet-stream/elf"
SHMIME_APP_LINUX_32
"application/octet-stream/elf-32"
SHMIME_APP_TAR
"application/x-tar"
SHMIME_APP_PEM
"application/x-pem-file"
SHMIME_APP_SQLITE
"application/x-sqlite3"
SHMIME_APP_SEXE
"application/x-sexe"
MAX_DEFAULT_SHARE_MIME_TYPES
10
MAX_MIME_HEADER_SIZE
512
Maximum length of a file's header to scan in order to detect mime type.