aboutsummaryrefslogtreecommitdiffstats
path: root/src/ctrl.h
diff options
context:
space:
mode:
authorMax <msuraev@sysmocom.de>2017-03-02 12:12:00 +0100
committerMax <msuraev@sysmocom.de>2017-03-06 13:57:59 +0100
commit372868baa37010625eb66f3c03677cac743cec5b (patch)
tree25dcfe172df2162aacf902adbe2156f4066814e6 /src/ctrl.h
parentadc6648841d50f459fe2ef5b044146838a7a3b21 (diff)
Add CTRL interface
* add command to query Packet Services (GPRS etc.) for particular IMSI. * add vty command to configure ctrl bind address * add missing vty copyright notice Change-Id: Id787ef4aa88473c3bbde6ee25117b1fd99dc8fcb Related: OS#1645
Diffstat (limited to 'src/ctrl.h')
-rw-r--r--src/ctrl.h31
1 files changed, 31 insertions, 0 deletions
diff --git a/src/ctrl.h b/src/ctrl.h
new file mode 100644
index 0000000..663de30
--- /dev/null
+++ b/src/ctrl.h
@@ -0,0 +1,31 @@
+/* OsmoHLR Control Interface implementation */
+
+/* (C) 2017 sysmocom s.f.m.c. GmbH <info@sysmocom.de>
+ * All Rights Reserved
+ *
+ * Author: Max Suraev <msuraev@sysmocom.de>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program 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 Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
+
+#pragma once
+
+#include <osmocom/ctrl/control_if.h>
+
+#include "gsup_server.h"
+
+int hlr_ctrl_cmds_install();
+struct ctrl_handle *hlr_controlif_setup(struct hlr *ctx,
+ struct osmo_gsup_server *gs);