Commit b9441e98 authored by Pekka Pessi's avatar Pekka Pessi

Added test proxy to nua module.

darcs-hash:20051107205311-65a35-ce5f38773231451b1a9061c40bf6872fc3c3093c.gz
parent 2256126f
......@@ -60,6 +60,8 @@ LDADD = libnua.la \
test_nua_LDFLAGS = -static
test_nua_SOURCES = test_nua.c test_proxy.h test_proxy.c
# ----------------------------------------------------------------------
# Install and distribution rules
......
This diff is collapsed.
This diff is collapsed.
/*
* 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
*
*/
#ifndef TEST_PROXY_H
#define TEST_PROXY_H
#include <su_wait.h>
#include <nta.h>
struct proxy;
struct proxy_transaction;
struct registration_entry;
struct proxy {
su_home_t home[1];
su_clone_r clone;
su_root_t *root;
nta_agent_t *agent;
url_t const *uri;
nta_leg_t *defleg;
struct proxy_transaction *transactions;
struct registration_entry *entries;
};
struct proxy *test_proxy_create(su_root_t *);
void test_proxy_destroy(struct proxy *);
#endif
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