1 #ifndef HTTPU_PARSE_HTTP_RESPONSE_H
2 #define HTTPU_PARSE_HTTP_RESPONSE_H
4 #include "ace/config-all.h"
6 #if !defined (ACE_LACKS_PRAGMA_ONCE)
8 #endif /* ACE_LACKS_PRAGMA_ONCE */
10 #include "HTTPU/http_export.h"
12 class HTTPU_Export Parse_HTTP_Response
15 Parse_HTTP_Response (const char *response
= 0);
16 ~Parse_HTTP_Response ();
18 void init (const char *response
);
21 const char *code_str () const;
23 int major_version () const;
24 int minor_version () const;
26 const char *version () const;
28 enum { HTTPU_OK
, NO_MEMORY
, BAD_RESPONSE
};
43 #if defined (ACE_HAS_INLINED_OSCALLS)
44 # if defined (ACE_INLINE)
46 # endif /* ACE_INLINE */
47 # define ACE_INLINE inline
48 # include "HTTPU/parse_http_response.inl"
49 # endif /* ACE_HAS_INLINED_OSCALLS */
52 #endif /* !defined (HTTPU_PARSE_HTTP_RESPONSE_H) */