blob: f63bc2bbc5b96d82d5605bf7ad24df496ffd1ab4 [file] [log] [blame]
Maxd4bebbd2017-03-02 12:00:19 +01001/* OsmoHLR generic header */
2
3/* (C) 2017 sysmocom s.f.m.c. GmbH <info@sysmocom.de>
4 * All Rights Reserved
5 *
6 * Author: Max Suraev <msuraev@sysmocom.de>
7 *
8 * This program is free software; you can redistribute it and/or modify
9 * it under the terms of the GNU Affero General Public License as published by
10 * the Free Software Foundation; either version 3 of the License, or
11 * (at your option) any later version.
12 *
13 * This program is distributed in the hope that it will be useful,
14 * but WITHOUT ANY WARRANTY; without even the implied warranty of
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 * GNU Affero General Public License for more details.
17 *
18 * You should have received a copy of the GNU Affero General Public License
19 * along with this program. If not, see <http://www.gnu.org/licenses/>.
20 *
21 */
22
23#pragma once
24
25#include <stdbool.h>
26
27struct hlr {
28 /* GSUP server pointer */
29 struct osmo_gsup_server *gs;
30
31 /* DB context */
32 struct db_context *dbc;
Max372868b2017-03-02 12:12:00 +010033
34 /* Control Interface */
35 struct ctrl_handle *ctrl;
36 const char *ctrl_bind_addr;
Pau Espin Pedrolce9bc402017-05-31 13:19:22 +020037
38 /* Local bind addr */
39 char *gsup_bind_addr;
Maxd4bebbd2017-03-02 12:00:19 +010040};