diff options
| author | Donatas Abraitis <donatas@opensourcerouting.org> | 2023-08-02 11:56:42 +0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-08-02 11:56:42 +0300 |
| commit | 7e2130bb03aa8d8675d865badd46cc33feeb19e2 (patch) | |
| tree | e1a55eb11934893adc4eb609778615c19f26aece /lib/frrlua.h | |
| parent | 728976960bc669594e670c08de3b13779fdb06d8 (diff) | |
| parent | 85728c9c4fddb1b62b4bf83ffcf4d5e92000cceb (diff) | |
Merge pull request #14128 from FRRouting/mergify/bp/stable/9.0/pr-14125
lib: Do not use time_t as a special Lua encoder/decoder (backport #14125)
Diffstat (limited to 'lib/frrlua.h')
| -rw-r--r-- | lib/frrlua.h | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/lib/frrlua.h b/lib/frrlua.h index bf6eb5fd91..d248312d62 100644 --- a/lib/frrlua.h +++ b/lib/frrlua.h @@ -100,21 +100,6 @@ void lua_pushethaddr(lua_State *L, const struct ethaddr *addr); void *lua_toin6addr(lua_State *L, int idx); /* - * Converts a time_t to a Lua value and pushes it on the stack. - */ -void lua_pushtimet(lua_State *L, const time_t *time); - -void lua_decode_timet(lua_State *L, int idx, time_t *time); - -/* - * Converts the Lua value at idx to a time_t. - * - * Returns: - * time_t allocated with MTYPE_TMP. - */ -void *lua_totimet(lua_State *L, int idx); - -/* * Converts a sockunion to a Lua value and pushes it on the stack. */ void lua_pushsockunion(lua_State *L, const union sockunion *su); |
