about summary refs log tree commit diff stats
path: root/src/tlv.h
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2021-12-25 13:05:37 -0800
committerKartik K. Agaram <vc@akkartik.com>2021-12-25 13:33:37 -0800
commitbb6e79aa0debb17d2e3ebc3af91092ef21e7a911 (patch)
treee6bc92c957b4bf464492b018c6847f0b33852336 /src/tlv.h
parent1fdfa8909b27a1e217a7ba3956c16355fe78d2f8 (diff)
downloadteliva-bb6e79aa0debb17d2e3ebc3af91092ef21e7a911.tar.gz
reorg: pull Teliva-specific stuff out of lua.c
It should now be easier to diff against the Lua 5.1 sources upstream.
Diffstat (limited to 'src/tlv.h')
-rw-r--r--src/tlv.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/tlv.h b/src/tlv.h
new file mode 100644
index 0000000..0a3e97b
--- /dev/null
+++ b/src/tlv.h
@@ -0,0 +1,9 @@
+#ifndef __TLV_H__
+#define __TLV_H__
+
+/* Helpers for working with the .tlv file format */
+
+extern void teliva_load_definition (lua_State* L, FILE* in);
+int is_special_history_key(const char* key);
+
+#endif