mikroSDK Reference Manual
mime.h
Go to the documentation of this file.
1
31
#ifndef _MIME_H
32
#define _MIME_H
33
34
//Dependencies
35
#include "
core/net.h
"
36
37
//Custom MIME types
38
#ifndef MIME_CUSTOM_TYPES
39
#define MIME_CUSTOM_TYPES
40
#endif
41
42
//C++ guard
43
#ifdef __cplusplus
44
extern
"C"
{
45
#endif
46
47
52
typedef
struct
53
{
54
const
char_t *extension;
55
const
char_t *type;
56
}
MimeType
;
57
58
59
//MIME related functions
60
const
char_t *mimeGetType(
const
char_t *filename);
61
62
//C++ guard
63
#ifdef __cplusplus
64
}
65
#endif
66
67
#endif
net.h
TCP/IP stack core.
MimeType
MIME type.
Definition
mime.h:53