Advertisement
Guest User

Untitled

a guest
Nov 18th, 2019
82
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.66 KB | None | 0 0
  1. parser.cpp
  2. ========================================
  3. PcapLoader::PcapLoader(size_t cache_size=64) :
  4.             connection_manager(cache_size),
  5.             cleanup_configuration(true, 1, 50),
  6.             reassembler(on_message_ready_callback,
  7.                         &connection_manager,
  8.                         on_connection_start_callback,
  9.                         on_connection_end_callback,
  10.                         cleanup_configuration)
  11. {
  12. #ifdef DEBUG
  13.     std::cout << __PRETTY_FUNCTION__ << std::endl;
  14. #endif
  15. }
  16.  
  17. parser.h
  18. ========================================
  19. class PcapLoader {
  20.         ...
  21.         PcapLoader() = delete;
  22.         PcapLoader(size_t);
  23. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement