blob: 280b55acb92906e0672029dc2e2b14e1f7f040ec [file] [log] [blame]
Neels Hofmeyr7685a782017-01-30 23:30:26 +01001/* OsmoHLR VTY implementation */
2
3/* (C) 2016 sysmocom s.f.m.c. GmbH <info@sysmocom.de>
4 * All Rights Reserved
5 *
6 * Author: Neels Hofmeyr <nhofmeyr@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 <osmocom/core/logging.h>
26#include <osmocom/vty/vty.h>
Pau Espin Pedrolce9bc402017-05-31 13:19:22 +020027#include <osmocom/vty/command.h>
28#include "hlr.h"
29
30enum hlr_vty_node {
31 HLR_NODE = _LAST_OSMOVTY_NODE + 1,
32 GSUP_NODE,
Harald Welte4956ae12018-06-15 22:04:28 +020033 EUSE_NODE,
Pau Espin Pedrolce9bc402017-05-31 13:19:22 +020034};
Neels Hofmeyr7685a782017-01-30 23:30:26 +010035
36int hlr_vty_is_config_node(struct vty *vty, int node);
Pau Espin Pedrolce9bc402017-05-31 13:19:22 +020037int hlr_vty_go_parent(struct vty *vty);
Pau Espin Pedrole49391b2019-08-05 15:57:10 +020038void hlr_vty_init(void);