blob: 0653701a903bbe1572e50df37676c5654da0936e (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
/**
* @file mime.h
*/
#ifndef SPM_MIME_H
#define SPM_MIME_H
typedef struct {
char *origin;
char *type;
char *charset;
} Mime;
Process *file_command(const char *_filename);
Mime *file_mimetype(const char *filename);
void mime_free(Mime *m);
int build(int bargc, char **bargv);
int file_is_binary(const char *filename);
int file_is_text(const char *filename);
int file_is_binexec(const char *filename);
#endif //SPM_MIME_H
|