/* OsmoHLR VTY implementation */ /* (C) 2016 sysmocom s.f.m.c. GmbH * All Rights Reserved * * Author: Neels Hofmeyr * * 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 . * */ #include #include #include #include "hlr_vty.h" int hlr_vty_is_config_node(struct vty *vty, int node) { switch (node) { /* add items that are not config */ case CONFIG_NODE: return 0; default: return 1; } } void hlr_vty_init(const struct log_info *cat) { logging_vty_add_cmds(cat); }