diff options
Diffstat (limited to 'lib/frrlua.h')
| -rw-r--r-- | lib/frrlua.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/frrlua.h b/lib/frrlua.h index f77842b445..bc017b6441 100644 --- a/lib/frrlua.h +++ b/lib/frrlua.h @@ -74,6 +74,13 @@ int frrlua_table_get_integer(lua_State *L, const char *key); */ void frrlua_export_logging(lua_State *L); +/* + * Dump Lua stack to a string. + * + * Return value must be freed with XFREE(MTYPE_TMP, ...); + */ +char *frrlua_stackdump(lua_State *L); + #ifdef __cplusplus } #endif |
