aboutsummaryrefslogtreecommitdiffstats
path: root/sualibrary/sua/sua_database.h
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2010-07-09 20:56:56 +0200
committerHarald Welte <laforge@gnumonks.org>2010-07-09 20:56:56 +0200
commit7e7186ca00b33e9735c809ce200e310636006a22 (patch)
tree37ae4c48db5cfb2218830a7237a69ec787613f0b /sualibrary/sua/sua_database.h
parentacd8cf60130f88a4dd477dde5506faa4c142540c (diff)
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
Diffstat (limited to 'sualibrary/sua/sua_database.h')
-rw-r--r--sualibrary/sua/sua_database.h28
1 files changed, 16 insertions, 12 deletions
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