Commit 834157f3 authored by Pekka Pessi's avatar Pekka Pessi

Added test_nat_tags.c to nua module.

darcs-hash:20060511163628-65a35-fabb33ab62a0c4acbce0c51ca3a7179e6ae21a68.gz
parent 54152416
......@@ -74,7 +74,7 @@ LDADD = libnua.la \
test_nua_LDFLAGS = -static
test_nua_SOURCES = test_nua.c test_proxy.h test_proxy.c \
test_nat.h test_nat.c
test_nat.h test_nat.c test_nat_tags.c
# ----------------------------------------------------------------------
# Install and distribution rules
......
......@@ -153,11 +153,6 @@ static int tcp_out_to_in(struct nat *, su_wait_t *wait, struct binding *);
static int invalidate_binding(struct binding *b);
tag_typedef_t testnattag_symmetric = BOOLTAG_TYPEDEF(symmetric);
tag_typedef_t testnattag_symmetric_ref = REFTAG_TYPEDEF(testnattag_symmetric);
tag_typedef_t testnattag_logging = BOOLTAG_TYPEDEF(symmetric);
tag_typedef_t testnattag_logging_ref = REFTAG_TYPEDEF(testnattag_logging);
/* nat entry point */
static int
test_nat_init(su_root_t *root, struct nat *nat)
......
/*
* This file is part of the Sofia-SIP package
*
* Copyright (C) 2005 Nokia Corporation.
*
* Contact: Pekka Pessi <pekka.pessi@nokia.com>
*
* This library is free software; you can redistribute it and/or
* 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 test_nat_tags.c
* @brief Tags for simulated NAT
*
* @author Pekka Pessi <Pekka.Pessi@nokia.com>
*
* @date Created: Wed Mar 8 19:54:28 EET 2006
*/
#include "config.h"
#include "test_nat.h"
tag_typedef_t testnattag_symmetric = BOOLTAG_TYPEDEF(symmetric);
tag_typedef_t testnattag_symmetric_ref = REFTAG_TYPEDEF(testnattag_symmetric);
tag_typedef_t testnattag_logging = BOOLTAG_TYPEDEF(symmetric);
tag_typedef_t testnattag_logging_ref = REFTAG_TYPEDEF(testnattag_logging);
......@@ -68,12 +68,12 @@ struct call;
#include <fcntl.h>
#endif
extern su_log_t nua_log[];
extern su_log_t soa_log[];
extern su_log_t nea_log[];
extern su_log_t nta_log[];
extern su_log_t tport_log[];
extern su_log_t su_log_default[];
SOFIAPUBVAR su_log_t nua_log[];
SOFIAPUBVAR su_log_t soa_log[];
SOFIAPUBVAR su_log_t nea_log[];
SOFIAPUBVAR su_log_t nta_log[];
SOFIAPUBVAR su_log_t tport_log[];
SOFIAPUBVAR su_log_t su_log_default[];
extern void *memmem(const void *haystack, size_t haystacklen,
const void *needle, size_t needlelen);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment