http_hclasses.h 2.36 KB
Newer Older
Pekka Pessi's avatar
Pekka Pessi committed
1 2 3 4 5 6 7
/*
 * This file is part of the Sofia-SIP package
 *
 * Copyright (C) 2005 Nokia Corporation.
 *
 * Contact: Pekka Pessi <pekka.pessi@nokia.com>
 *
8
 * This library is free software; you can redistribute it and/or
Pekka Pessi's avatar
Pekka Pessi committed
9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
 * modify it under the terms of the GNU Lesser General Public License
 * as published by the Free Software Foundation; either version 2.1 of
 * the License, or (at your option) any later version.
 *
 * This library is distributed in the hope that it will be useful, but
 * WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
 * Lesser General Public License for more details.
 *
 * You should have received a copy of the GNU Lesser General Public
 * License along with this library; if not, write to the Free Software
 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
 * 02110-1301 USA
 *
 */

Pekka Pessi's avatar
Pekka Pessi committed
25 26
#ifndef HTTP_HCLASSES_H
/** Defined when <sofia-sip/http_hclasses.h> has been included. */
Pekka Pessi's avatar
Pekka Pessi committed
27
#define HTTP_HCLASSES_H
Pekka Pessi's avatar
Pekka Pessi committed
28

Pekka Pessi's avatar
Pekka Pessi committed
29
/**@file sofia-sip/http_hclasses.h
Pekka Pessi's avatar
Pekka Pessi committed
30 31 32 33 34 35 36
 * @brief HTTP header classes.
 * 
 * @author Pekka Pessi <Pekka.Pessi@nokia.com>
 * 
 */

#ifndef MSG_TYPES_H
37
#include <sofia-sip/msg_types.h>
Pekka Pessi's avatar
Pekka Pessi committed
38 39
#endif

40 41
SOFIA_BEGIN_DECLS

Pekka Pessi's avatar
Pekka Pessi committed
42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61
/* Use directly these header classes */

#define http_accept_class              msg_accept_class
#define http_accept_charset_class      msg_accept_charset_class
#define http_accept_encoding_class     msg_accept_encoding_class
#define http_accept_language_class     msg_accept_language_class
#define http_content_encoding_class    msg_content_encoding_class
#define http_content_length_class      msg_content_length_class
#define http_content_md5_class         msg_content_md5_class
#define http_content_type_class        msg_content_type_class
#define http_content_id_class          msg_content_id_class
#define http_content_location_class    msg_content_location_class
#define http_content_language_class    msg_content_language_class
#define http_mime_version_class        msg_mime_version_class

#define http_error_class               msg_error_class
#define http_unknown_class             msg_unknown_class
#define http_separator_class           msg_separator_class
#define http_payload_class             msg_payload_class

62 63
SOFIA_END_DECLS

Pekka Pessi's avatar
Pekka Pessi committed
64 65
#ifndef HTTP_PROTOS_H
#define HTTP_HCLASSES_ONLY
66
#include <sofia-sip/http_protos.h>
Pekka Pessi's avatar
Pekka Pessi committed
67 68 69 70
#undef HTTP_HCLASSES_ONLY
#endif

#endif /* !defined HTTP_HCLASSES_H */