tport_tag.c 2.94 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 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44
 * 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
 *
 */

/**@CFILE tport_tag.c
 * @brief Tags for transport module
 *
 * @note This file is used to automatically generate 
 * tport_tag_ref.c and tport_tag_dll.c
 *
 * Copyright (c) 2002 Nokia Research Center.  All rights reserved.
 *
 * @author Pekka Pessi <Pekka.Pessi@nokia.com>
 *
 * @date Created: Thu Jun  6 00:38:07 2002 ppessi
 */

#include "config.h"

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

#define TAG_NAMESPACE "tp"

45 46
#include "sofia-sip/tport.h"
#include <sofia-sip/su_tag_class.h>
Pekka Pessi's avatar
Pekka Pessi committed
47 48 49

/* ==== Globals ========================================================== */

50 51
/** Filter for tport tags. */
tagi_t tport_tags[] = { { tptag_any, 0 }, { TAG_END() } };
Pekka Pessi's avatar
Pekka Pessi committed
52

53
tag_typedef_t tptag_any = NSTAG_TYPEDEF(*);
Pekka Pessi's avatar
Pekka Pessi committed
54 55 56

tag_typedef_t tptag_ident = CSTRTAG_TYPEDEF(ident);
tag_typedef_t tptag_reuse = BOOLTAG_TYPEDEF(reuse);
57
tag_typedef_t tptag_fresh = BOOLTAG_TYPEDEF(fresh);
Pekka Pessi's avatar
Pekka Pessi committed
58
tag_typedef_t tptag_server = BOOLTAG_TYPEDEF(server);
59
tag_typedef_t tptag_public = INTTAG_TYPEDEF(public);
Pekka Pessi's avatar
Pekka Pessi committed
60 61 62 63 64 65 66 67 68
tag_typedef_t tptag_mtu = UINTTAG_TYPEDEF(mtu);
tag_typedef_t tptag_connect = BOOLTAG_TYPEDEF(connect);
tag_typedef_t tptag_sdwn_error = BOOLTAG_TYPEDEF(sdwn_error);
tag_typedef_t tptag_sdwn_after = BOOLTAG_TYPEDEF(sdwn_after);
tag_typedef_t tptag_close_after = BOOLTAG_TYPEDEF(sdwn_after);
tag_typedef_t tptag_idle = UINTTAG_TYPEDEF(idle);
tag_typedef_t tptag_timeout = UINTTAG_TYPEDEF(timeout);
tag_typedef_t tptag_sigcomp_lifetime = UINTTAG_TYPEDEF(sigcomp_lifetime);
tag_typedef_t tptag_certificate = STRTAG_TYPEDEF(certificate);
69
tag_typedef_t tptag_compartment = PTRTAG_TYPEDEF(compartment);
Pekka Pessi's avatar
Pekka Pessi committed
70 71 72 73 74 75 76 77

tag_typedef_t tptag_tls_version = UINTTAG_TYPEDEF(tls_version);
tag_typedef_t tptag_queuesize = UINTTAG_TYPEDEF(queuesize);
tag_typedef_t tptag_debug_drop = UINTTAG_TYPEDEF(debug_drop);
tag_typedef_t tptag_udp_rmem = UINTTAG_TYPEDEF(udp_rmem);
tag_typedef_t tptag_udp_wmem = UINTTAG_TYPEDEF(udp_wmem);
tag_typedef_t tptag_thrpsize = UINTTAG_TYPEDEF(thrpsize);
tag_typedef_t tptag_thrprqsize = UINTTAG_TYPEDEF(thrprqsize);
78
tag_typedef_t tptag_http_connect = STRTAG_TYPEDEF(http_connect);
79
tag_typedef_t tptag_stun_server = BOOLTAG_TYPEDEF(stun_server);