aboutsummaryrefslogtreecommitdiffstats
path: root/src/ss7_application.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ss7_application.c')
-rw-r--r--src/ss7_application.c12
1 files changed, 10 insertions, 2 deletions
diff --git a/src/ss7_application.c b/src/ss7_application.c
index 701ec04..b28c376 100644
--- a/src/ss7_application.c
+++ b/src/ss7_application.c
@@ -1,8 +1,8 @@
/*
* The SS7 Application part for forwarding or nat...
*
- * (C) 2010-2011 by Holger Hans Peter Freyther <zecke@selfish.org>
- * (C) 2010-2011 by On-Waves
+ * (C) 2010-2012 by Holger Hans Peter Freyther <zecke@selfish.org>
+ * (C) 2010-2012 by On-Waves
* All Rights Reserved
*
* This program is free software: you can redistribute it and/or modify
@@ -421,3 +421,11 @@ int ss7_application_mgcp_domain_name(struct ss7_application *app,
return app->mgcp_domain_name == NULL;
}
+
+int ss7_application_trunk_name(struct ss7_application *app, const char *name)
+{
+ talloc_free(app->trunk_name);
+ app->trunk_name = talloc_strdup(app, name);
+
+ return app->trunk_name == NULL;
+}