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

📄 http_headers.i

📁 这是广泛使用的通信开源项目,对于大容量,高并发的通讯要求完全能够胜任,他广泛可用于网络游戏医学图像网关的高qos要求.更详细的内容可阅读相应的材料
💻 I
字号:
// -*- c++ -*-
// http_headers.i,v 1.1 2000/04/27 23:43:17 jxh Exp

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

ACE_INLINE
HTTP_Hdr_Node::operator const int (void) const
{
  return this->index_;
}

ACE_INLINE
HTTP_Hdr_Node::operator const char * (void) const
{
  return this->token_;
}

ACE_INLINE const char *
HTTP_Hdr_Node::format (void) const
{
  return this->format_;
}

ACE_INLINE const HTTP_Hdr_Node &
HTTP_HCodes::hcode (int type) const
{
  const HTTP_Hdr_Node **hn = this->header_nodes_->find (type);

  // No error checking!
  return **hn;
}

ACE_INLINE const char *
HTTP_Headers::header_token (int name) const
{
  const HTTP_Hdr_Node **hn = this->header_nodes_->find (name);
  return ((hn && *hn) ? (const char *)**hn : 0);
}

ACE_INLINE const char *
HTTP_Headers::header_strings (int name) const
{
  const HTTP_Hdr_Node **hn = this->header_nodes_->find (name);
  return ((hn && *hn) ? (*hn)->format () : 0);
}

⌨️ 快捷键说明

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