From 7e7186ca00b33e9735c809ce200e310636006a22 Mon Sep 17 00:00:00 2001 From: Harald Welte Date: Fri, 9 Jul 2010 20:56:56 +0200 Subject: update to sualibrary-0.1.1 from 2002-03-15: * Contains Relaying functionality using hostnames. * Correct some bugs (multihoming....) * Compiles and runs on Linux, FreeBSD .... * Tested on IPv4 and IPV6 networks * interoperable with other SUA implementations * corresponds to sua draft v11 * requires SCTP implementation from www.sctp.de --- sualibrary/sua/sua_database.h | 28 ++++++++++++++++------------ 1 file changed, 16 insertions(+), 12 deletions(-) (limited to 'sualibrary/sua/sua_database.h') diff --git a/sualibrary/sua/sua_database.h b/sualibrary/sua/sua_database.h index 9b2005a..7fce372 100644 --- a/sualibrary/sua/sua_database.h +++ b/sualibrary/sua/sua_database.h @@ -15,7 +15,7 @@ * * ***************************************************************************/ /* - * $Id: sua_database.h,v 1.2 2002/02/07 16:34:27 p82609 Exp $ + * $Id: sua_database.h,v 1.4 2002/03/01 12:57:38 p82609 Exp $ * * SUA implementation according to SUA draft issue 8. * @@ -317,23 +317,27 @@ class db_Sua_AssociationList{ ); short Terminate_remote_assoc_instance(); short shutdown(); - signed int route_msg(sccp_addr_str& cld, - sccp_addr_str& clg - ); + signed int resolve_host_name( hostname_str& dest_name, + pointcode_str& dest_pc + ); + signed int route_msg( sccp_addr_str& cld, + sccp_addr_str& clg, + int& sua_assoc_id + ); signed int route_on_IPpc ( ipvxunion& dest_pc, ipvxunion& org_pc, int& sua_assoc_id ); signed int route_on_SS7pc ( SS7union& dest_pc, - SS7union& org_pc, - int& sua_assoc_id - ); + SS7union& org_pc, + int& sua_assoc_id + ); signed int route_on_GTname ( hostname_str& dest_name, - hostname_str& org_name, - int& sua_assoc_id, - pointcode_str& dest_pc, - pointcode_str& org_pc - ); + hostname_str& org_name, + int& sua_assoc_id, + pointcode_str& dest_pc, + pointcode_str& org_pc + ); void increase_instance(); bool activate( unsigned int sua_id, short mode -- cgit v1.2.3