⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 http_base.inl

📁 最新的版本ACE-5.6.8,刚从外文网上搬下,与大家分享.
💻 INL
字号:
// -*- c++ -*-
// $Id: http_base.inl 80826 2008-03-04 14:51:23Z wotte $

#if !defined (ACE_HAS_INLINED_OSCALLS)
# undef ACE_INLINE
# define ACE_INLINE
#endif /* ACE_HAS_INLINED_OSCALLS */

ACE_INLINE
HTTP_Base::HTTP_Base (void)
  : status_ (200),
    line_ (0),
    deliver_state_ (0),
    no_headers_ (0),
    iter_ (*(this->info_.table ())),
    mb_ (0)
{
}

ACE_INLINE
HTTP_Base::~HTTP_Base (void)
{
  if (this->line_)
    ACE_OS::free (this->line_);
  if (this->mb_)
    delete this->mb_;
  this->line_ = 0;
  this->mb_ = 0;
}

ACE_INLINE int
HTTP_Base::status (void) const
{
  return this->status_;
}

ACE_INLINE const char *
HTTP_Base::line (void) const
{
  return this->line_;
}

ACE_INLINE HTTP_Headers *
HTTP_Base::http_headers (void)
{
  return &(this->info_);
}

ACE_INLINE JAWS_Headers *
HTTP_Base::headers (void)
{
  return this->info_.table ();
}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -