summaryrefslogtreecommitdiff
path: root/utils.h
diff options
context:
space:
mode:
authorTrumeet <yuuta@yuuta.moe>2023-03-19 17:04:21 -0700
committerTrumeet <yuuta@yuuta.moe>2023-03-19 17:04:21 -0700
commit261d0f23f25151068c58db88c447289a882b4a6e (patch)
tree04587186ec0df7020775b58d33c75f7d8841b84d /utils.h
parent92829eb1abde84916d92b22e107fc3ae7dc4bad2 (diff)
downloadksyxbot-261d0f23f25151068c58db88c447289a882b4a6e.tar
ksyxbot-261d0f23f25151068c58db88c447289a882b4a6e.tar.gz
ksyxbot-261d0f23f25151068c58db88c447289a882b4a6e.tar.bz2
ksyxbot-261d0f23f25151068c58db88c447289a882b4a6e.zip
Use message index instead of URL to save space
Refresh code is not maintained.
Diffstat (limited to 'utils.h')
-rw-r--r--utils.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/utils.h b/utils.h
new file mode 100644
index 0000000..3a853f6
--- /dev/null
+++ b/utils.h
@@ -0,0 +1,12 @@
+/*
+ * Created by yuuta on 3/19/23.
+ */
+
+#ifndef KSYXBOT_UTILS_H
+#define KSYXBOT_UTILS_H
+
+#include <stdint.h>
+
+uint32_t tg_url_get_index(const char *url);
+
+#endif /* KSYXBOT_UTILS_H */