tcpflow  1.6.1
About: tcpflow is a TCP/IP packet demultiplexer that captures data transmitted as part of TCP connections (flows), and stores the data in a way that is convenient for protocol analysis and debugging.
  Fossies Dox: tcpflow-1.6.1.tar.gz  ("unofficial" and yet experimental doxygen-generated source code documentation)  

mime_map.cpp File Reference
#include "mime_map.h"
#include <algorithm>
#include <map>
Include dependency graph for mime_map.cpp:

Go to the source code of this file.

Classes

class  PopulateMimeMap
 

Functions

std::string get_extension_for_mime_type (const std::string &mime_type)
 

Variables

std::map< std::string, std::string > mime_map
 
static PopulateMimeMap populate_mime_map
 

Function Documentation

◆ get_extension_for_mime_type()

std::string get_extension_for_mime_type ( const std::string &  mime_type)

Definition at line 719 of file mime_map.cpp.

References mime_map.

Referenced by scan_http_cbo::on_headers_complete().

Variable Documentation

◆ mime_map

std::map<std::string, std::string> mime_map

Definition at line 15 of file mime_map.cpp.

Referenced by get_extension_for_mime_type(), and PopulateMimeMap::PopulateMimeMap().

◆ populate_mime_map

PopulateMimeMap populate_mime_map
static

Definition at line 22 of file mime_map.cpp.