]> git.proxmox.com Git - mirror_frr.git/blame - lib/clippy.h
lib: enforce vrf_name_to_id by returning default_vrf when name is null
[mirror_frr.git] / lib / clippy.h
CommitLineData
29ad6f68
DL
1/*
2 * clippy (CLI preparator in python)
3 * Copyright (C) 2016-2017 David Lamparter for NetDEF, Inc.
4 *
5 * This program is free software; you can redistribute it and/or modify it
6 * under the terms of the GNU General Public License as published by the Free
7 * Software Foundation; either version 2 of the License, or (at your option)
8 * any later version.
9 *
10 * This program is distributed in the hope that it will be useful, but WITHOUT
11 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
12 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
13 * more details.
14 *
15 * You should have received a copy of the GNU General Public License along
16 * with this program; see the file COPYING; if not, write to the Free Software
17 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
18 */
19
20#ifndef _FRR_CLIPPY_H
21#define _FRR_CLIPPY_H
22
23#include <Python.h>
24
25extern PyObject *clippy_parse(PyObject *self, PyObject *args);
26extern PyMODINIT_FUNC command_py_init(void);
27
28#endif /* _FRR_CLIPPY_H */