diff options
Diffstat (limited to 'apps/JAWS/PROTOTYPE/HTTPU/http_headers.i')
-rw-r--r-- | apps/JAWS/PROTOTYPE/HTTPU/http_headers.i | 65 |
1 files changed, 0 insertions, 65 deletions
diff --git a/apps/JAWS/PROTOTYPE/HTTPU/http_headers.i b/apps/JAWS/PROTOTYPE/HTTPU/http_headers.i deleted file mode 100644 index e18a7d9064b..00000000000 --- a/apps/JAWS/PROTOTYPE/HTTPU/http_headers.i +++ /dev/null @@ -1,65 +0,0 @@ -// -*- c++ -*- -// $Id$ - -#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 -HTTP_Header_Nodes::HTTP_Header_Nodes (void) - : num_header_strings_ (0) -{ -} - -ACE_INLINE -HTTP_HCodes::HTTP_HCodes (void) - : header_nodes_ (HTTP_Header_Nodes_Singleton::instance ()) -{ -} - -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 -HTTP_Headers::HTTP_Headers (void) -{ -} - -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); -} |