]>
git.proxmox.com Git - mirror_frr.git/blob - bgpd/bgp_script.h
1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * Copyright (C) 2020 NVIDIA Corporation
17 * Initialize scripting stuff.
19 void bgp_script_init(void);
21 void lua_pushpeer(lua_State
*L
, const struct peer
*peer
);
23 void lua_pushattr(lua_State
*L
, const struct attr
*attr
);
25 void lua_decode_attr(lua_State
*L
, int idx
, struct attr
*attr
);
27 void *lua_toattr(lua_State
*L
, int idx
);
29 #endif /* HAVE_SCRIPTING */
31 #endif /* __BGP_SCRIPT__ */