http_tag.c.in 1.86 KB
Newer Older
1
/**@HTTP
2 3 4 5 6 7 8
 * @IFILE http_tag.c.in
 *
 * Template for <http_tag.c>.
 *
 * @date Created: Wed Feb 21 11:01:45 2001 ppessi
 */

Pekka Pessi's avatar
Pekka Pessi committed
9 10 11 12 13 14 15
/*
 * This file is part of the Sofia-SIP package
 *
 * Copyright (C) 2005 Nokia Corporation.
 *
 * Contact: Pekka Pessi <pekka.pessi@nokia.com>
 *
16
 * This library is free software; you can redistribute it and/or
Pekka Pessi's avatar
Pekka Pessi committed
17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32
 * 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
 *
 */

33
/**@internal @file http_tag.c  HTTP Tag classes
Pekka Pessi's avatar
Pekka Pessi committed
34 35 36 37
 *
 * This file is autogenerated from <http_tag.c.in>.
 *
 * #AUTO#
38
 *
Pekka Pessi's avatar
Pekka Pessi committed
39 40 41 42 43 44 45 46 47 48 49
 * @author Pekka Pessi <Pekka.Pessi@nokia.com>
 */

#include "config.h"

#define TAG_NAMESPACE "http"

#include <assert.h>
#include <stddef.h>
#include <string.h>

50
#include <sofia-sip/su.h>
Pekka Pessi's avatar
Pekka Pessi committed
51

52 53 54 55
#include <sofia-sip/http.h>
#include <sofia-sip/http_protos.h>
#include <sofia-sip/http_tag.h>
#include <sofia-sip/http_tag_class.h>
Pekka Pessi's avatar
Pekka Pessi committed
56

57 58
tag_typedef_t httptag_any = NSTAG_TYPEDEF(*);

Pekka Pessi's avatar
Pekka Pessi committed
59 60
tag_typedef_t httptag_http = HTTPMSGTAG_TYPEDEF(http);
tag_typedef_t httptag_version = STRTAG_TYPEDEF(version);
61
tag_typedef_t httptag_header =
Pekka Pessi's avatar
Pekka Pessi committed
62 63 64 65 66 67 68
	{{ TAG_NAMESPACE, "header", httphdrtag_class, 0 }};
tag_typedef_t httptag_header_str = STRTAG_TYPEDEF(header_str);


tag_typedef_t httptag_#xxxxxx# = HTTPHDRTAG_TYPEDEF(#xxxxxx#);
tag_typedef_t httptag_#xxxxxx#_str = HTTPSTRTAG_TYPEDEF(#xxxxxx#);