Seastar
High performance C++ framework for concurrent servers
Toggle main menu visibility
Main Page
Related Pages
Modules
Namespaces
Namespace List
Namespace Members
All
a
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
v
w
y
Functions
a
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
v
w
y
Variables
Typedefs
Enumerations
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
y
~
Functions
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
y
~
Variables
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
u
v
w
Typedefs
Enumerations
Related Functions
Files
File List
Examples
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Modules
Pages
seastar
http
mime_types.hh
1
//
2
// mime_types.hpp
3
// ~~~~~~~~~~~~~~
4
//
5
// Copyright (c) 2003-2013 Christopher M. Kohlhoff (chris at kohlhoff dot com)
6
//
7
// Distributed under the Boost Software License, Version 1.0. (See accompanying
8
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
9
//
10
11
#pragma once
12
13
#include <seastar/core/sstring.hh>
14
#include <seastar/util/modules.hh>
15
16
namespace
seastar
{
17
18
namespace
http {
19
20
namespace
mime_types {
21
28
SEASTAR_MODULE_EXPORT
29
const
char
* extension_to_type(
const
sstring& extension);
30
31
}
// namespace mime_types
32
33
}
// namespace httpd
34
35
namespace
httpd {
36
namespace
mime_types {
37
[[deprecated(
"Use http::mime_types::extension_to_type instead"
)]]
38
inline
const
char
* extension_to_type(
const
sstring& extension) {
39
return
http::mime_types::extension_to_type(extension);
40
}
41
}
42
}
43
44
}
seastar
Seastar API namespace.
Definition:
abort_on_ebadf.hh:26
Generated by
1.9.4