Max | d4bebbd | 2017-03-02 12:00:19 +0100 | [diff] [blame] | 1 | /* 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 | |
| 27 | struct hlr { |
| 28 | /* GSUP server pointer */ |
| 29 | struct osmo_gsup_server *gs; |
| 30 | |
| 31 | /* DB context */ |
| 32 | struct db_context *dbc; |
Max | 372868b | 2017-03-02 12:12:00 +0100 | [diff] [blame] | 33 | |
| 34 | /* Control Interface */ |
| 35 | struct ctrl_handle *ctrl; |
| 36 | const char *ctrl_bind_addr; |
Max | d4bebbd | 2017-03-02 12:00:19 +0100 | [diff] [blame] | 37 | }; |