Arduino DLNA Server
HttpCommon.h
Go to the documentation of this file.
1 #pragma once
2 
3 // the functions have been defined in the header so we just need to take care of
4 // the allocation of the static and shared data
5 
6 namespace tiny_dlna {
7 
12 struct MimeExtension {
13  const char* extension;
14  const char* mime;
15 };
16 
17 extern const MimeExtension defaultMimeTable[11];
18 extern const MimeExtension* mimeTable;
19 
20 } // namespace tiny_dlna
Definition: Allocator.h:6
constexpr const MimeExtension defaultMimeTable[]
Definition: HttpCommon.cpp:9
const MimeExtension * mimeTable
Definition: HttpCommon.cpp:17
Mapping from file extensions to mime types.
Definition: HttpCommon.h:12
const char * mime
Definition: HttpCommon.h:14
const char * extension
Definition: HttpCommon.h:13