MySQL 9.3.0
Source Code Documentation
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages Concepts
media_type.h File Reference
#include <string>

Go to the source code of this file.

Namespaces

namespace  helper
 

Enumerations

enum  helper::MediaType {
  helper::typeUnknownBinary , helper::typeUnknownText , helper::typePlain , helper::typeHtml ,
  helper::typeJs , helper::typeCss , helper::typePng , helper::typeJpg ,
  helper::typeIco , helper::typeGif , helper::typeBmp , helper::typeAvi ,
  helper::typeWav , helper::typeJson , helper::typeXieee754ClientJson , helper::typeSvg
}
 

Functions

const char * helper::get_mime_name_from_ext (const std::string &ext)
 
MediaType helper::get_media_type_from_extension (const std::string &extenstion)
 
bool helper::is_text_type (const MediaType mt)
 
const char * helper::get_mime_name (MediaType mt)
 
std::string helper::to_string (MediaType mt)